summaryrefslogtreecommitdiffstats
path: root/model/message.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/message.go')
-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 {