aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 8de345c..5e09028 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -575,10 +575,10 @@ def slack_websocket_cb(data, fd):
proc[function_name](message_json)
except KeyError:
pass
-# if function_name:
-# dbg("Function not implemented: %s\n%s" % (function_name, message_json))
-# else:
-# dbg("Function not implemented\n%s" % (message_json))
+ if function_name:
+ dbg("Function not implemented: %s\n%s" % (function_name, message_json))
+ else:
+ dbg("Function not implemented\n%s" % (message_json))
w.bar_item_update("slack_typing_notice")
return w.WEECHAT_RC_OK
@@ -828,10 +828,6 @@ def slack_never_away_cb(data, remaining):
#NOTE: switched to async/curl because sync slowed down the UI
def async_slack_api_request(domain, token, request, post_data, priority=False):
t = time.time()
- dbg(str(domain))
- dbg(token)
- dbg(request)
- dbg(post_data)
post_elements = pickle.dumps([domain, token, request, post_data])
request += "?t=%s" % t
post_data["token"] = token