Merge: Fix: (ement-room-sync) Correct argument order

This commit is contained in:
Adam Porter 2022-09-09 12:27:00 -05:00
commit 82d598a22a
2 changed files with 3 additions and 2 deletions

View file

@ -262,7 +262,8 @@ Note that, while ~matrix-client~ remains usable, and probably will for some time
** 0.1.2-pre
Nothing new yet.
*Fixed*
+ Function ~ement-room-sync~ correctly updates room-list buffers. (Thanks to [[https://github.com/vizs][Visuwesh]].)
** 0.1.1

View file

@ -1484,7 +1484,7 @@ sync requests. Also, update any room list buffers."
(interactive (list ement-session current-prefix-arg))
(ement--sync session :force force)
(cl-loop for buffer in (buffer-list)
when (member (buffer-local-value buffer 'major-mode)
when (member (buffer-local-value 'major-mode buffer)
'(ement-taxy-mode ement-room-list-mode))
do (with-current-buffer buffer
(revert-buffer))))