aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2017-10-19 18:03:20 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2017-10-19 20:01:07 +0200
commit4766112f5449042085e2626d861ec19e29d7d690 (patch)
tree0393ed2d5d1da389014434ce53a78f18e58089a9
parent673f9be6f965d7febdaf4fe6dcd18686ecca7bc5 (diff)
downloadwee-slack-4766112f5449042085e2626d861ec19e29d7d690.tar.gz
Add decoding utf8 to some functions that were missing it
-rw-r--r--wee_slack.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 6bc8aff..25710df 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -593,6 +593,7 @@ def receive_httprequest_callback(data, command, return_code, out, err):
return w.WEECHAT_RC_OK
+@utf8_decode
def receive_ws_callback(*args):
"""
complete
@@ -604,6 +605,7 @@ def receive_ws_callback(*args):
return w.WEECHAT_RC_OK
+@utf8_decode
def reconnect_callback(*args):
EVENTROUTER.reconnect_if_disconnected()
return w.WEECHAT_RC_OK
@@ -760,6 +762,7 @@ def slack_never_away_cb(data, remaining_calls):
return w.WEECHAT_RC_OK
+@utf8_decode
def typing_bar_item_cb(data, current_buffer, args):
"""
Privides a bar item indicating who is typing in the current channel AND