diff --git a/mattermost.el b/mattermost.el index 0b82433..a55cfd4 100644 --- a/mattermost.el +++ b/mattermost.el @@ -56,7 +56,8 @@ (insert (format "[%s] %s\n" username msg)))) (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)) (user (plist-get mattermost-users-plist user-id-keyword))) (if (not user)