Update API

This commit is contained in:
Ilya Laktyushin
2023-08-31 02:30:48 +04:00
parent b1f40bf0aa
commit a281d15444
3 changed files with 35 additions and 1 deletions

View File

@@ -3712,7 +3712,7 @@ public final class MediaEditorScreen: ViewController, UIDropInteractionDelegate
self.displayNode.view.addInteraction(dropInteraction)
Queue.mainQueue().after(1.0) {
self.adminedChannels.set(.single([]) |> then(self.context.engine.peers.adminedPublicChannels(scope: .all)))
self.adminedChannels.set(.single([]) |> then(self.context.engine.peers.channelsForStories()))
self.closeFriends.set(self.context.engine.data.get(TelegramEngine.EngineData.Item.Contacts.CloseFriends()))
}
}