Explorar o código

VOICE_STATE_UPDATE should not fall though to Default right now.

Bruce Marriner %!s(int64=9) %!d(string=hai) anos
pai
achega
87f433e2d8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      wsapi.go

+ 1 - 0
wsapi.go

@@ -148,6 +148,7 @@ func (s *Session) event(messageType int, message []byte) (err error) {
 			return err
 		}
 		s.onVoiceStateUpdate(st)
+		return
 	case "PRESENCE_UPDATE":
 		if s.OnPresenceUpdate != nil {
 			var st PresenceUpdate