mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 19:23:36 +00:00
Merge branch 'ep/channel-web' into ep/channel-web-render
This commit is contained in:
24 files changed
+882
-39
No files matched your search
+17
-2
@@ -2240,11 +2240,25 @@ object GroupTypeSerializer : KSerializer<GroupType> {
|
||||
}
|
||||
}
|
||||
|
||||
@Serializable
|
||||
data class PublicGroupAccess(
|
||||
val groupWebPage: String? = null,
|
||||
val groupDomain: String? = null,
|
||||
val domainWebPage: Boolean = false,
|
||||
val allowEmbedding: Boolean = false
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class RelayCapabilities(
|
||||
val baseWebUrl: String? = null
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class PublicGroupProfile(
|
||||
val groupType: GroupType,
|
||||
val groupLink: String,
|
||||
val publicGroupId: String
|
||||
val publicGroupId: String,
|
||||
val publicGroupAccess: PublicGroupAccess? = null
|
||||
)
|
||||
|
||||
@Serializable
|
||||
@@ -2368,7 +2382,8 @@ data class GroupRelay(
|
||||
val groupMemberId: Long,
|
||||
val userChatRelay: UserChatRelay,
|
||||
val relayStatus: RelayStatus,
|
||||
val relayLink: String? = null
|
||||
val relayLink: String? = null,
|
||||
val relayCap: RelayCapabilities
|
||||
) {
|
||||
val id: Long get() = groupRelayId
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user