mirror of
https://github.com/vale981/ement.el
synced 2025-03-04 17:01:39 -05:00
Fix: (ement-taxy-room-list) Invited rooms have no latest timestamp
This commit is contained in:
parent
0a4e1f45ae
commit
c82d3bdddd
1 changed files with 4 additions and 1 deletions
|
@ -315,7 +315,10 @@
|
|||
;; (depth) (list :inherit (list 'bufler-group (bufler-level-face depth))))
|
||||
(format-item (item) (gethash item format-table))
|
||||
(latest-ts
|
||||
(item) (ement-room-latest-ts (elt item 0)))
|
||||
(item) (or (ement-room-latest-ts (elt item 0))
|
||||
;; Room has no latest timestamp. FIXME: This shouldn't
|
||||
;; happen, but it can, maybe due to oversights elsewhere.
|
||||
0))
|
||||
(room-unread-p
|
||||
(item) (pcase-let ((`[,(cl-struct ement-room (local (map buffer))) ,_session] item))
|
||||
(and (buffer-live-p buffer)
|
||||
|
|
Loading…
Add table
Reference in a new issue