mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 22:23:32 +08:00
Fix duplicate messages appearing
This commit is contained in:
parent
290b6e5f1d
commit
3140b2e15c
@ -158,7 +158,7 @@ namespace osu.Game.Online.Chat
|
||||
{
|
||||
if (fetchMsgReq == null)
|
||||
fetchMessages(
|
||||
() => new GetMessagesRequest(JoinedChannels.Where(c => c.Target == TargetType.Channel), lastChannelMsgId),
|
||||
() => fetchMsgReq = new GetMessagesRequest(JoinedChannels.Where(c => c.Target == TargetType.Channel), lastChannelMsgId),
|
||||
messages =>
|
||||
{
|
||||
if (messages == null)
|
||||
@ -172,7 +172,7 @@ namespace osu.Game.Online.Chat
|
||||
|
||||
if (fetchUserMsgReq == null)
|
||||
fetchMessages(
|
||||
() => new GetPrivateMessagesRequest(lastUserMsgId),
|
||||
() => fetchUserMsgReq = new GetPrivateMessagesRequest(lastUserMsgId),
|
||||
messages =>
|
||||
{
|
||||
if (messages == null)
|
||||
|
Loading…
Reference in New Issue
Block a user