From 0b553ba4e445d1505ad381f7361d2ab4a18c4374 Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Sun, 22 May 2022 20:10:41 +0200 Subject: [PATCH] Update mattermost--get-user docstring --- mattermost.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)