Skip to content

Commit

Permalink
fix: show forwarder's name in consecutive forwarded messages
Browse files Browse the repository at this point in the history
Signed-off-by: Next Alone <[email protected]>
  • Loading branch information
NextAlone committed Dec 2, 2023
1 parent bd83513 commit 002e7a2
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14294,10 +14294,9 @@ protected void onClick() {
} else if (messageObject.replyMessageObject == null && messageObject.messageOwner.reply_to != null && messageObject.messageOwner.reply_to.reply_from != null) {
name = messageObject.getReplyQuoteNameWithIcon();
} else if (messageObject.replyMessageObject != null) {
// if (drawForwardedName) {
// name = messageObject.replyMessageObject.getForwardedName();
// }

if (drawForwardedName && messageObject.getForwardedName() != null) {
name = messageObject.replyMessageObject.getForwardedName();
}
if (name == null) {
long fromId = messageObject.replyMessageObject.getFromChatId();
if (fromId > 0) {
Expand Down

0 comments on commit 002e7a2

Please sign in to comment.