mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Removed differentiation of replies by color in channels.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user