mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +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;
|
||||
replyToColorKey = (peerIsChannel(peerId) || peerIsChat(peerId))
|
||||
const auto peer = replyToMsg->history()->peer;
|
||||
replyToColorKey = (!holder->out()
|
||||
&& (peer->isMegagroup() || peer->isChat()))
|
||||
? replyToMsg->from()->id
|
||||
: PeerId(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue