mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix local display of sent-as from anonymous admin.
This commit is contained in:
parent
8c824edaa5
commit
17ffebb684
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ void InnerFillMessagePostFlags(
|
|||
not_null<PeerData*> peer,
|
||||
MessageFlags &flags) {
|
||||
const auto anonymousPost = peer->amAnonymous();
|
||||
if (!anonymousPost) {
|
||||
if (!anonymousPost || options.sendAs) {
|
||||
flags |= MessageFlag::HasFromId;
|
||||
return;
|
||||
} else if (peer->asMegagroup()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue