Updated, the update... should be working now hopefully...

This commit is contained in:
2026-05-30 21:11:33 -04:00
parent 1ed3efcc68
commit b62ceb1949
6 changed files with 568 additions and 413 deletions

View File

@@ -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);