Removed calls to string.decode() causing errors, and additionally fixed an issue where push notifications would not be sent if one was in a busy channel, due to the last_notification variable being set every time message_hook() was called. I moved the line to update last_notification to the send_push() function instead, as it seems to me a more logical/sane place to perform that update.
Removed calls to string.decode() causing errors, and additionally
fixed an issue where push notifications would not be sent if one
was in a busy channel, due to the last_notification variable being
set every time message_hook() was called.
I moved the line to update last_notification to the send_push()
function instead, as it seems to me a more logical/sane place to
perform that update.

LeftyBC/weebullet