mirror of
https://github.com/ppy/osu.git
synced 2026-05-22 04:59:54 +08:00
Add "Team" channel type
The lack of this bricks chat completely due to newtonsoft deserialisation errors: 2025-02-24 08:32:58 [verbose]: Processing response from https://dev.ppy.sh/api/v2/chat/updates failed with Newtonsoft.Json.JsonSerializationException: Error converting value "TEAM" to type 'osu.Game.Online.Chat.ChannelType'. Path 'presence[39].type', line 1, position 13765. 2025-02-24 08:32:58 [verbose]: ---> System.ArgumentException: Requested value 'TEAM' was not found. 2025-02-24 08:32:58 [verbose]: at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber) 2025-02-24 08:32:58 [verbose]: at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)
This commit is contained in:
@@ -14,5 +14,6 @@ namespace osu.Game.Online.Chat
|
||||
Group,
|
||||
System,
|
||||
Announce,
|
||||
Team,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user