Fixing bug where nil handler was called
This commit is contained in:
parent
d81730e3e7
commit
7b9e2a8d29
@ -182,9 +182,9 @@ func (r *PushSubscription) subscribeWithPrefix(prefix string, context context.Co
|
||||
return
|
||||
}
|
||||
log.Println("Unable to handle GroupMe message type", contentType)
|
||||
} else {
|
||||
handler(r, channel, authToken, content)
|
||||
}
|
||||
|
||||
handler(r, channel, authToken, content)
|
||||
})
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user