mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 05:29:23 +00:00
Removed display of userpic for sponsored messages.
This commit is contained in:
parent
8d93eb919b
commit
440ebfcbf6
@ -2367,7 +2367,9 @@ bool Message::hasFromPhoto() const {
|
||||
case Context::SavedSublist:
|
||||
case Context::ScheduledTopic: {
|
||||
const auto item = data();
|
||||
if (item->isPostHidingAuthor()) {
|
||||
if (item->isSponsored()) {
|
||||
return false;
|
||||
} else if (item->isPostHidingAuthor()) {
|
||||
return false;
|
||||
} else if (item->isPost()) {
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user