mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Fixed display of userpic for sponsored messages in channels.
This commit is contained in:
@@ -1391,7 +1391,8 @@ bool Message::hasFromPhoto() const {
|
||||
case Context::Replies: {
|
||||
const auto item = message();
|
||||
if (item->isPost()) {
|
||||
return item->isSponsored();
|
||||
return item->isSponsored()
|
||||
&& item->history()->peer->isMegagroup();
|
||||
}
|
||||
if (item->isEmpty()
|
||||
|| (context() == Context::Replies && item->isDiscussionPost())) {
|
||||
|
Reference in New Issue
Block a user