Fixing bug where nil handler was called

This commit is contained in:
Brandon Watson 2023-09-24 15:36:17 -04:00
parent d81730e3e7
commit 7b9e2a8d29

View File

@ -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