mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Removed differentiation of replies by color in channels.
This commit is contained in:
parent
53c4b511f8
commit
b9003202bf
1 changed files with 3 additions and 2 deletions
|
@ -296,8 +296,9 @@ bool HistoryMessageReply::updateData(
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
const auto peerId = replyToMsg->fullId().peer;
|
const auto peer = replyToMsg->history()->peer;
|
||||||
replyToColorKey = (peerIsChannel(peerId) || peerIsChat(peerId))
|
replyToColorKey = (!holder->out()
|
||||||
|
&& (peer->isMegagroup() || peer->isChat()))
|
||||||
? replyToMsg->from()->id
|
? replyToMsg->from()->id
|
||||||
: PeerId(0);
|
: PeerId(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue