ing
This commit is contained in:
parent
e69682ca44
commit
0e118b7f80
|
@ -75,7 +75,7 @@ func (s *subscribers) listenSubscriptions() {
|
|||
switch v := s.conn.Receive().(type) {
|
||||
case redis.Message:
|
||||
if h, ok := s.subHandlers[v.Channel]; ok {
|
||||
h.OnSubscribe(string(v.Data))
|
||||
h.OnSubscribe(v.Channel, string(v.Data))
|
||||
}
|
||||
break
|
||||
case redis.Subscription:
|
||||
|
|
Loading…
Reference in New Issue
Block a user