Don't show fast share for own messages.

This commit is contained in:
John Preston 2019-03-07 13:02:55 +04:00
parent 6c441353c4
commit 5a7fcc3a22
1 changed files with 1 additions and 0 deletions

View File

@ -1375,6 +1375,7 @@ bool Message::displayFastShare() const {
} else if (const auto user = peer->asUser()) {
if (const auto forwarded = item->Get<HistoryMessageForwarded>()) {
return !peer->isSelf()
&& !item->out()
&& forwarded->originalSender->isChannel()
&& !forwarded->originalSender->isMegagroup();
} else if (user->botInfo && !item->out()) {