Add recent actions settings sheet

This commit is contained in:
Isaac
2024-04-19 01:04:01 +04:00
parent 4286199f6a
commit 7f7d0f1c74
2 changed files with 995 additions and 0 deletions

View File

@@ -131,6 +131,11 @@ extension ChatControllerImpl {
return
}
/*if "".isEmpty {
self.push(RecentActionsSettingsSheet(context: self.context, adminPeers: authors.map(EnginePeer.init), completion: { _ in }))
return
}*/
self.navigationActionDisposable.set((combineLatest(authors.map { author in
self.context.engine.peers.fetchChannelParticipant(peerId: peerId, participantId: author.id)
})