Update mattermost--get-user docstring
This commit is contained in:
parent
190880e278
commit
0b553ba4e4
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,8 @@
|
||||||
(insert (format "[%s] %s\n" username msg))))
|
(insert (format "[%s] %s\n" username msg))))
|
||||||
|
|
||||||
(defun mattermost--get-user (user-id)
|
(defun mattermost--get-user (user-id)
|
||||||
"Returns the user from the internal cache or fetches it first"
|
"Returns the user from the internal cache and fills the cache
|
||||||
|
if the user is not present"
|
||||||
(let* ((user-id-keyword (mattermost-string->keyword user-id))
|
(let* ((user-id-keyword (mattermost-string->keyword user-id))
|
||||||
(user (plist-get mattermost-users-plist user-id-keyword)))
|
(user (plist-get mattermost-users-plist user-id-keyword)))
|
||||||
(if (not user)
|
(if (not user)
|
||||||
|
|
Loading…
Reference in a new issue