Fix search being broken in channel listing "channel"

This commit is contained in:
Bartłomiej Dach 2023-07-09 21:49:50 +02:00
parent 6453ab6049
commit 91e286560e
No known key found for this signature in database
1 changed files with 5 additions and 1 deletions

View File

@ -12,6 +12,7 @@
using osu.Framework.Lists;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Overlays.Chat;
using osu.Game.Overlays.Chat.Listing;
namespace osu.Game.Online.Chat
{
@ -86,8 +87,11 @@ private int[] userIds
[JsonProperty(@"last_read_id")]
public long? LastReadId;
/// <remarks>
/// Purposefully nullable for the sake of <see cref="ChannelListing.ChannelListingChannel"/>.
/// </remarks>
[JsonProperty(@"message_length_limit")]
public int MessageLengthLimit;
public int? MessageLengthLimit;
/// <summary>
/// Signals if the current user joined this channel or not. Defaults to false.