From 1421e1ec4aa09c0e7094643d342d095cdd91d506 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Wed, 7 Oct 2015 11:39:45 -0400 Subject: Fix user_added websocket event and update websocket channel access cache on add/remove member. --- model/message.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model') 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 { -- cgit v1.2.3-1-g7c22