aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 789e750..57cf55f 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -516,9 +516,9 @@ class EventRouter(object):
return w.WEECHAT_RC_OK
message_json = json.loads(data.decode('utf-8'))
- message_json["wee_slack_metadata_team"] = team
if self.recording:
self.record_event(message_json, 'type', 'websocket')
+ message_json["wee_slack_metadata_team"] = team
self.receive(message_json)
return w.WEECHAT_RC_OK