Fix mattermost--get-user cache miss case
This commit is contained in:
parent
784071afcf
commit
11ffa88521
1 changed files with 2 additions and 1 deletions
|
@ -62,7 +62,8 @@ if the user is not present"
|
|||
(user (plist-get mattermost-users-plist user-id-keyword)))
|
||||
(if (not user)
|
||||
(let ((user (mattermost-get-user user-id)))
|
||||
(setq mattermost-users-plist (plist-put mattermost-users-plist user-id-keyword user)))
|
||||
(setq mattermost-users-plist (plist-put mattermost-users-plist user-id-keyword user))
|
||||
user)
|
||||
user)))
|
||||
|
||||
;; ToDo: once mattermost-request parses headers, use it to fetch both
|
||||
|
|
Loading…
Reference in a new issue