implement missing client methods
stop gracefully on disconnect
This commit is contained in:
1 parent
ee24023387
commit
e70f0f0b52
4 files changed
+93
-38
No files matched your search
@@ -19,7 +19,7 @@ func NewGetStream(apiKey string, signature string) GetStream {
|
||||
}
|
||||
|
||||
func (gt GetStream) OutExtension(message *message.Message) {
|
||||
if message.Channel == string(transport.Subscribe) {
|
||||
if message.Channel == string(transport.MetaSubscribe) {
|
||||
//get useriID
|
||||
gt.UserID = message.Subscription[1:]
|
||||
message.Ext = gt
|
||||
|
||||
Reference in new issue
Block a user