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
1 changed files with 4 additions and 0 deletions

View File

@ -529,6 +529,10 @@ private Channel joinChannel(Channel channel, bool fetchInitialMessages = false)
{
Logger.Log($"Joined public channel {channel}");
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 =>
{