Fix user_added websocket event and update websocket channel access cache on add/remove member.

Этот коммит содержится в:
JoramWilander
2015-10-07 11:39:45 -04:00
родитель dfaef4bd72
Коммит 1421e1ec4a
4 изменённых файлов: 33 добавлений и 22 удалений

Просмотреть файл

@@ -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 {