Make pinned chat limit remote configurable.

This commit is contained in:
Greyson Parrelli
2026-02-10 12:00:50 -05:00
committed by Michelle Tang
parent 1ecf42bfd3
commit f90ba45940
2 changed files with 13 additions and 4 deletions

View File

@@ -564,6 +564,15 @@ object RemoteConfig {
hotSwappable = true
)
/** The maximum number of pinned conversations a user can have. */
@JvmStatic
@get:JvmName("pinnedChatLimit")
val pinnedChatLimit: Int by remoteInt(
key = "global.pinnedChatLimit",
defaultValue = 4,
hotSwappable = true
)
/** The maximum number of grapheme */
@JvmStatic
val maxGroupNameGraphemeLength: Int by remoteValue(