mirror of
https://github.com/vale981/ement.el
synced 2025-03-05 09:21:37 -05:00
Fix: (ement-room-defevent m.typing) Handle missing users
I don't know why this can happen, but apparently it does.
This commit is contained in:
parent
7595be2cd0
commit
91e560371f
1 changed files with 4 additions and 1 deletions
|
@ -532,7 +532,10 @@ function to `ement-room-event-fns', which see."
|
|||
(string-join
|
||||
(cl-loop for id across user-ids
|
||||
for user = (gethash id ement-users)
|
||||
collect (ement-room--user-display-name user ement-room)) ", "))
|
||||
if user
|
||||
collect (ement-room--user-display-name user ement-room)
|
||||
else do (message "Ement: Typing event can't find user struct for ID: %s" id))
|
||||
", "))
|
||||
'face 'font-lock-comment-face))))
|
||||
(ewoc-set-hf ement-ewoc "" footer)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue