mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Don't add original name in forward of reply.
This commit is contained in:
@@ -430,8 +430,9 @@ void Reply::updateName(
|
||||
const auto originalNameAdded = !displayAsExternal
|
||||
&& forwarded
|
||||
&& !message->isDiscussionPost()
|
||||
&& (!message->showForwardsFromSender(forwarded)
|
||||
|| forwarded->forwardOfForward());
|
||||
&& (forwarded->forwardOfForward()
|
||||
|| (!message->showForwardsFromSender(forwarded)
|
||||
&& !view->data()->Has<HistoryMessageForwarded>()));
|
||||
const auto shorten = !viaBotUsername.isEmpty()
|
||||
|| groupNameAdded
|
||||
|| originalNameAdded;
|
||||
|
Reference in New Issue
Block a user