1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 02:42:54 +08:00

Immediately send ack request when joining new channels

This commit is contained in:
Dan Balasescu 2022-12-07 14:23:52 +09:00
parent e47f933cdc
commit 8709b1f2ea

View File

@ -529,6 +529,10 @@ namespace osu.Game.Online.Chat
{ {
Logger.Log($"Joined public channel {channel}"); Logger.Log($"Joined public channel {channel}");
joinChannel(channel, fetchInitialMessages); joinChannel(channel, fetchInitialMessages);
// Required after joining public channels to mark the user as online in them.
// Todo: Temporary workaround for https://github.com/ppy/osu-web/issues/9602
SendAck();
}; };
req.Failure += e => req.Failure += e =>
{ {