summaryrefslogtreecommitdiff
path: root/server/channel
diff options
context:
space:
mode:
Diffstat (limited to 'server/channel')
-rw-r--r--server/channel/command.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/channel/command.go b/server/channel/command.go
index e60bb17..2454042 100644
--- a/server/channel/command.go
+++ b/server/channel/command.go
@@ -272,7 +272,7 @@ func (c *Channel) SendRequest(r session.Request) {
c.SetRead(r.From.UserId)
u := c.kind.world.GetObject(r.From.UserId).(*user.User)
- for s := range u.PrivateStream.Subscribers {
+ for s := range u.PrivateStream.Subscribers() {
if s != r.From {
s.Event(proto.NewCmd("read", c.id))
}