summaryrefslogtreecommitdiffstats
path: root/model/user.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-03-21 18:43:16 -0400
committerGitHub <noreply@github.com>2017-03-21 18:43:16 -0400
commitbea49cbcf3605a6cab28bc54be41d59d7b627f38 (patch)
tree5a8f62eee5f19a99b50d8daaefe860a0142c5538 /model/user.go
parentfd6e2f3f73c1fbdda49e4f32d0e40e8d7230518b (diff)
downloadchat-bea49cbcf3605a6cab28bc54be41d59d7b627f38.tar.gz
chat-bea49cbcf3605a6cab28bc54be41d59d7b627f38.tar.bz2
chat-bea49cbcf3605a6cab28bc54be41d59d7b627f38.zip
Add ability to use 'me' in place of user id for APIv4 (#5826)
Diffstat (limited to 'model/user.go')
-rw-r--r--model/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/model/user.go b/model/user.go
index f380a7550..c7e2b6352 100644
--- a/model/user.go
+++ b/model/user.go
@@ -17,6 +17,7 @@ import (
)
const (
+ ME = "me"
USER_NOTIFY_ALL = "all"
USER_NOTIFY_MENTION = "mention"
USER_NOTIFY_NONE = "none"