mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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()) {
|
if (!isRegular()) {
|
||||||
return false;
|
return false;
|
||||||
} else if (isService()) {
|
} else if (isService()) {
|
||||||
return _flags & MessageFlag::ReactionsAllowed;
|
return (_flags & MessageFlag::ReactionsAllowed);
|
||||||
} else if (const auto media = this->media()) {
|
} else if (const auto media = this->media()) {
|
||||||
if (media->call()) {
|
if (media->call()) {
|
||||||
return false;
|
return (_flags & MessageFlag::ReactionsAllowed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue