diff options
Diffstat (limited to 'webapp/stores')
-rw-r--r-- | webapp/stores/user_store.jsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/webapp/stores/user_store.jsx b/webapp/stores/user_store.jsx index fb1e36590..bcc59b690 100644 --- a/webapp/stores/user_store.jsx +++ b/webapp/stores/user_store.jsx @@ -540,6 +540,11 @@ class UserStoreClass extends EventEmitter { keys.push('@all'); } + const usernameKey = '@' + user.username; + if (keys.indexOf(usernameKey) === -1) { + keys.push(usernameKey); + } + return keys; } |