mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Removed display of userpic for sponsored messages.
This commit is contained in:
parent
8d93eb919b
commit
440ebfcbf6
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue