2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Support [inputN|n]otifyBroadcasts setting.

This commit is contained in:
John Preston
2018-11-06 15:10:20 +04:00
parent 75db59a8bb
commit 36b702702b
7 changed files with 58 additions and 11 deletions

View File

@@ -131,8 +131,8 @@ namespace App {
return channel(channelId, PeerData::FullLoaded);
}
void enumerateUsers(Fn<void(not_null<UserData*>)> action);
void enumerateChatsChannels(
Fn<void(not_null<PeerData*>)> action);
void enumerateGroups(Fn<void(not_null<PeerData*>)> action);
void enumerateChannels(Fn<void(not_null<ChannelData*>)> action);
PeerData *peerByName(const QString &username);
QString peerName(const PeerData *peer, bool forDialogs = false);