Skip to content

Commit

Permalink
[fix] Formatting hidden user when forwarding a message
Browse files Browse the repository at this point in the history
  • Loading branch information
zevlg committed Oct 31, 2023
1 parent 1dc38ac commit eb522bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions telega-ins.el
Original file line number Diff line number Diff line change
Expand Up @@ -2357,7 +2357,8 @@ Return user, chat or string with the sender title."
(telega-chat-get from-chat-id))))
;; Insert sender origin first
(if (stringp sender)
(telega-ins sender)
(telega-ins--with-face 'telega-shadow
(telega-ins sender))
(telega-ins--msg-sender sender
:with-avatar-p t
:with-username-p t
Expand All @@ -2368,8 +2369,7 @@ Return user, chat or string with the sender title."

(when (and from-chat
(not (or (eq sender from-chat)
(and (telega-user-p sender)
(eq sender (telega-chat-user from-chat))))))
(eq sender (telega-chat-user from-chat)))))
(telega-ins "→")
(if telega-chat-show-avatars
(telega-ins--image
Expand Down

0 comments on commit eb522bc

Please sign in to comment.