mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
[WIP] Topics
This commit is contained in:
@@ -66,15 +66,27 @@ public let telegramPostboxSeedConfiguration: SeedConfiguration = {
|
||||
return .channel
|
||||
case .group:
|
||||
if channel.flags.contains(.isForum) {
|
||||
return []
|
||||
return .group
|
||||
} else {
|
||||
return .group
|
||||
}
|
||||
return .group
|
||||
}
|
||||
} else {
|
||||
assertionFailure()
|
||||
return .nonContact
|
||||
}
|
||||
},
|
||||
peerSummaryIsThreadBased: { peer in
|
||||
if let channel = peer as? TelegramChannel {
|
||||
if channel.flags.contains(.isForum) {
|
||||
return true
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
},
|
||||
additionalChatListIndexNamespace: Namespaces.Message.Cloud,
|
||||
messageNamespacesRequiringGroupStatsValidation: [Namespaces.Message.Cloud],
|
||||
defaultMessageNamespaceReadStates: [Namespaces.Message.Local: .idBased(maxIncomingReadId: 0, maxOutgoingReadId: 0, maxKnownId: 0, count: 0, markedUnread: false)],
|
||||
|
||||
Reference in New Issue
Block a user