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

Display reactions outside bottom info in groups.

This commit is contained in:
John Preston
2021-12-08 09:28:17 +04:00
parent 3aacd15ef2
commit 535fd8d523
9 changed files with 328 additions and 40 deletions

View File

@@ -655,7 +655,7 @@ not_null<PeerData*> Session::processChat(const MTPChat &data) {
&& chat->groupCall()->fullCount() > 0))
? Flag::CallNotEmpty
: Flag())
| (data.is_noforwards() ? Flag::NoForwards : Flag());
| (data.is_noforwards() ? Flag() : Flag()); AssertIsDebug();
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::NoForwards : Flag());
| (data.is_noforwards() ? Flag() : Flag()); AssertIsDebug();
channel->setFlags((channel->flags() & ~flagsMask) | flagsSet);
channel->setName(