summaryrefslogtreecommitdiffstats
path: root/model/message.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-10-19 09:56:34 -0700
committerCorey Hulen <corey@hulen.com>2015-10-19 09:56:34 -0700
commitea1b3129688dd76c80c7d41eec4f2eb60f9f0639 (patch)
treedadeed708df722d68d0344051fbdb9900a646c81 /model/message.go
parentd776d1aa0c7416a2c96da17e9cc2b7ad7f6a7fca (diff)
parent93eaa80a3bfacbb0c4a350474ca3d81b28b5d7ab (diff)
downloadchat-ea1b3129688dd76c80c7d41eec4f2eb60f9f0639.tar.gz
chat-ea1b3129688dd76c80c7d41eec4f2eb60f9f0639.tar.bz2
chat-ea1b3129688dd76c80c7d41eec4f2eb60f9f0639.zip
Merge pull request #1072 from mattermost/plt-554
PLT-554 Small refactor of websocket code on client and server
Diffstat (limited to 'model/message.go')
-rw-r--r--model/message.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/model/message.go b/model/message.go
index 122af4d9c..2725353ac 100644
--- a/model/message.go
+++ b/model/message.go
@@ -9,14 +9,14 @@ import (
)
const (
- ACTION_TYPING = "typing"
- ACTION_POSTED = "posted"
- ACTION_POST_EDITED = "post_edited"
- ACTION_POST_DELETED = "post_deleted"
- ACTION_VIEWED = "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"
)
type Message struct {