mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Don't add original name in forward of reply.
This commit is contained in:
parent
382dab4ecb
commit
c8dd94601b
1 changed files with 3 additions and 2 deletions
|
@ -430,8 +430,9 @@ void Reply::updateName(
|
||||||
const auto originalNameAdded = !displayAsExternal
|
const auto originalNameAdded = !displayAsExternal
|
||||||
&& forwarded
|
&& forwarded
|
||||||
&& !message->isDiscussionPost()
|
&& !message->isDiscussionPost()
|
||||||
&& (!message->showForwardsFromSender(forwarded)
|
&& (forwarded->forwardOfForward()
|
||||||
|| forwarded->forwardOfForward());
|
|| (!message->showForwardsFromSender(forwarded)
|
||||||
|
&& !view->data()->Has<HistoryMessageForwarded>()));
|
||||||
const auto shorten = !viaBotUsername.isEmpty()
|
const auto shorten = !viaBotUsername.isEmpty()
|
||||||
|| groupNameAdded
|
|| groupNameAdded
|
||||||
|| originalNameAdded;
|
|| originalNameAdded;
|
||||||
|
|
Loading…
Add table
Reference in a new issue