diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-03-21 18:43:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-21 18:43:16 -0400 |
commit | bea49cbcf3605a6cab28bc54be41d59d7b627f38 (patch) | |
tree | 5a8f62eee5f19a99b50d8daaefe860a0142c5538 /model/user.go | |
parent | fd6e2f3f73c1fbdda49e4f32d0e40e8d7230518b (diff) | |
download | chat-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.go | 1 |
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" |