mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Return reading proper noforwards value.
This commit is contained in:
@@ -655,7 +655,7 @@ not_null<PeerData*> Session::processChat(const MTPChat &data) {
|
||||
&& chat->groupCall()->fullCount() > 0))
|
||||
? Flag::CallNotEmpty
|
||||
: Flag())
|
||||
| (data.is_noforwards() ? Flag() : Flag()); AssertIsDebug();
|
||||
| (data.is_noforwards() ? Flag::NoForwards : Flag());
|
||||
chat->setFlags((chat->flags() & ~flagsMask) | flagsSet);
|
||||
chat->count = data.vparticipants_count().v;
|
||||
|
||||
@@ -765,7 +765,7 @@ not_null<PeerData*> Session::processChat(const MTPChat &data) {
|
||||
? (data.is_left() ? Flag::Left : Flag())
|
||||
| (data.is_creator() ? Flag::Creator : Flag())
|
||||
: Flag())
|
||||
| (data.is_noforwards() ? Flag() : Flag()); AssertIsDebug();
|
||||
| (data.is_noforwards() ? Flag::NoForwards : Flag());
|
||||
channel->setFlags((channel->flags() & ~flagsMask) | flagsSet);
|
||||
|
||||
channel->setName(
|
||||
|
Reference in New Issue
Block a user