summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-12-11 06:40:37 -0800
committerCorey Hulen <corey@hulen.com>2015-12-11 06:40:37 -0800
commit412b45431ac913d13fb211b693e177bc92a09ecf (patch)
tree74f7e329090541f18ab30c7bf62d21987be92629 /model
parent607a8151de502bf45de131ef3632c741ad452333 (diff)
parentc55e7895d91c9d4cd31c7cefe81319d64d7fed16 (diff)
downloadchat-412b45431ac913d13fb211b693e177bc92a09ecf.tar.gz
chat-412b45431ac913d13fb211b693e177bc92a09ecf.tar.bz2
chat-412b45431ac913d13fb211b693e177bc92a09ecf.zip
Merge pull request #1652 from hmhealey/plt1319
PLT-1319 Fixed direct channels not being visible when no actual channel exists
Diffstat (limited to 'model')
-rw-r--r--model/message.go17
1 files changed, 9 insertions, 8 deletions
diff --git a/model/message.go b/model/message.go
index 2725353ac..1cb350bbf 100644
--- a/model/message.go
+++ b/model/message.go
@@ -9,14 +9,15 @@ import (
)
const (
- ACTION_TYPING = "typing"
- ACTION_POSTED = "posted"
- ACTION_POST_EDITED = "post_edited"
- ACTION_POST_DELETED = "post_deleted"
- ACTION_CHANNEL_VIEWED = "channel_viewed"
- ACTION_NEW_USER = "new_user"
- ACTION_USER_ADDED = "user_added"
- ACTION_USER_REMOVED = "user_removed"
+ ACTION_TYPING = "typing"
+ ACTION_POSTED = "posted"
+ ACTION_POST_EDITED = "post_edited"
+ ACTION_POST_DELETED = "post_deleted"
+ ACTION_CHANNEL_VIEWED = "channel_viewed"
+ ACTION_NEW_USER = "new_user"
+ ACTION_USER_ADDED = "user_added"
+ ACTION_USER_REMOVED = "user_removed"
+ ACTION_PREFERENCE_CHANGED = "preference_changed"
)
type Message struct {