Updated, the update... should be working now hopefully...
This commit is contained in:
@@ -137,11 +137,11 @@ public partial class MainPage : ContentPage
|
||||
await _rtc.PushRtcContextToJsAsync();
|
||||
});
|
||||
|
||||
_socket.SendRaw($"GET_HISTORY|{_username}|{_currentChannelId}");
|
||||
_socket.SendGetHistory(_currentChannelId);
|
||||
}
|
||||
|
||||
private void HandleEncryptedChat(SocketEncryptedMessage payload) {
|
||||
if (payload.RecipientUsername != _username)
|
||||
if (!payload.RecipientUsername.Equals(_username, StringComparison.OrdinalIgnoreCase))
|
||||
return;
|
||||
|
||||
string decryptedText;
|
||||
@@ -229,7 +229,7 @@ public partial class MainPage : ContentPage
|
||||
RenderCurrentChannelMessages();
|
||||
|
||||
if (!_messagesByChannel.ContainsKey(channel.ChannelId))
|
||||
_socket.SendRaw($"GET_HISTORY|{_username}|{channel.ChannelId}");
|
||||
_socket.SendGetHistory(channel.ChannelId);
|
||||
};
|
||||
|
||||
SidebarList.Children.Add(button);
|
||||
|
||||
Reference in New Issue
Block a user