mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fixed recording of voice messages in Saved Messages.
This commit is contained in:
parent
e0ddaf9da1
commit
cde5e89e42
1 changed files with 2 additions and 1 deletions
|
@ -325,7 +325,8 @@ void ApplyUserUpdate(not_null<UserData*> user, const MTPDuserFull &update) {
|
|||
| Flag::HasPhoneCalls
|
||||
| Flag::PhoneCallsPrivate
|
||||
| Flag::CanReceiveGifts
|
||||
| Flag::CanPinMessages;
|
||||
| Flag::CanPinMessages
|
||||
| Flag::VoiceMessagesForbidden;
|
||||
user->setFlags((user->flags() & ~mask)
|
||||
| (update.is_phone_calls_private() ? Flag::PhoneCallsPrivate : Flag())
|
||||
| (update.is_phone_calls_available() ? Flag::HasPhoneCalls : Flag())
|
||||
|
|
Loading…
Add table
Reference in a new issue