summaryrefslogtreecommitdiffstats
path: root/model
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-10-07 09:30:01 -0700
committerCorey Hulen <corey@hulen.com>2015-10-07 09:30:01 -0700
commit3c859aebde2e9e11e8b1eeb4d8bb300400b4ad54 (patch)
treee392637ecffed4e761ad5c59e4d6472e998132e6 /model
parent5ac1a58063b9302f2ed88af2bbed0be850aa1666 (diff)
parent1421e1ec4aa09c0e7094643d342d095cdd91d506 (diff)
downloadchat-3c859aebde2e9e11e8b1eeb4d8bb300400b4ad54.tar.gz
chat-3c859aebde2e9e11e8b1eeb4d8bb300400b4ad54.tar.bz2
chat-3c859aebde2e9e11e8b1eeb4d8bb300400b4ad54.zip
Merge pull request #961 from mattermost/plt-471
PLT-471 Fix user_added websocket event
Diffstat (limited to 'model')
-rw-r--r--model/message.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/model/message.go b/model/message.go
index ec4817b2a..8598bea0e 100644
--- a/model/message.go
+++ b/model/message.go
@@ -31,8 +31,8 @@ func (m *Message) Add(key string, value string) {
m.Props[key] = value
}
-func NewMessage(teamId string, channekId string, userId string, action string) *Message {
- return &Message{TeamId: teamId, ChannelId: channekId, UserId: userId, Action: action, Props: make(map[string]string)}
+func NewMessage(teamId string, channelId string, userId string, action string) *Message {
+ return &Message{TeamId: teamId, ChannelId: channelId, UserId: userId, Action: action, Props: make(map[string]string)}
}
func (o *Message) ToJson() string {