summaryrefslogtreecommitdiff
path: root/server/channel/channel.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/channel/channel.go')
-rw-r--r--server/channel/channel.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/channel/channel.go b/server/channel/channel.go
index 078e377..449375b 100644
--- a/server/channel/channel.go
+++ b/server/channel/channel.go
@@ -123,7 +123,7 @@ func (c *Channel) Join(u *user.User) *proto.Fail {
}
c.members[u.Id()] = c.defaultMembership
u.Channels[c.id] = true
- c.Put(proto.Object{"join", "", map[string]string {"": u.Id()}})
+ c.Put(proto.Object{"join", "", map[string]string {"f": u.Id()}})
return nil
}
@@ -133,7 +133,7 @@ func (c *Channel) Leave(u *user.User) *proto.Fail {
}
delete(c.members, u.Id())
delete(u.Channels, c.id)
- c.Put(proto.Object{"leave", "", map[string]string {"": u.Id()}})
+ c.Put(proto.Object{"leave", "", map[string]string {"f": u.Id()}})
return nil
}