mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Fix reactions for call messages.
This commit is contained in:
parent
183dd40f39
commit
a87ebd41e7
1 changed files with 2 additions and 2 deletions
|
@ -2600,10 +2600,10 @@ bool HistoryItem::canReact() const {
|
|||
if (!isRegular()) {
|
||||
return false;
|
||||
} else if (isService()) {
|
||||
return _flags & MessageFlag::ReactionsAllowed;
|
||||
return (_flags & MessageFlag::ReactionsAllowed);
|
||||
} else if (const auto media = this->media()) {
|
||||
if (media->call()) {
|
||||
return false;
|
||||
return (_flags & MessageFlag::ReactionsAllowed);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue