mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Toggle calls controls using config and user flags.
Also use calls timeout values from config. Also request config each time when the auth session changes.
This commit is contained in:
@@ -402,6 +402,11 @@ void Messenger::startLocalStorage() {
|
||||
}
|
||||
}
|
||||
});
|
||||
subscribe(authSessionChanged(), [this] {
|
||||
if (_mtproto) {
|
||||
_mtproto->configLoadRequest();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void Messenger::regPhotoUpdate(const PeerId &peer, const FullMsgId &msgId) {
|
||||
|
Reference in New Issue
Block a user