diff --git a/real_time.go b/real_time.go index 9f3b80e..2371707 100644 --- a/real_time.go +++ b/real_time.go @@ -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