mirror of
https://github.com/ppy/osu.git
synced 2025-01-30 06:52:53 +08:00
Merge pull request #16976 from peppy/dont-expose-mark-as-read-errors-to-user
Don't expose "mark as read" errors to the user via notifications
This commit is contained in:
commit
80fc13fc1f
@ -618,7 +618,7 @@ namespace osu.Game.Online.Chat
|
|||||||
var req = new MarkChannelAsReadRequest(channel, message);
|
var req = new MarkChannelAsReadRequest(channel, message);
|
||||||
|
|
||||||
req.Success += () => channel.LastReadId = message.Id;
|
req.Success += () => channel.LastReadId = message.Id;
|
||||||
req.Failure += e => Logger.Error(e, $"Failed to mark channel {channel} up to '{message}' as read");
|
req.Failure += e => Logger.Log($"Failed to mark channel {channel} up to '{message}' as read ({e.Message})", LoggingTarget.Network);
|
||||||
|
|
||||||
api.Queue(req);
|
api.Queue(req);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user