diff options
author | Ryan Huber <rhuber@gmail.com> | 2015-07-21 12:55:01 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2015-07-21 12:55:01 -0700 |
commit | f14e4b30bd672fe9c8446d44e089e9b46ffcc1f5 (patch) | |
tree | 320b109267f8069ef2ffaa96bc91d2b3580d3914 /wee_slack.py | |
parent | 5d256ba213529279d7075a56430dec44a4199646 (diff) | |
parent | 5dd70ff74bc85db454bc45a0dd7ddc49a78c6135 (diff) | |
download | wee-slack-f14e4b30bd672fe9c8446d44e089e9b46ffcc1f5.tar.gz |
Merge branch 'master' into reactions
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index 8581e75..ade99cb 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1166,9 +1166,9 @@ def process_presence_change(message_json): server = servers.find(message_json["myserver"]) identifier = message_json.get("user", server.nick) if message_json["presence"] == 'active': - users.find(identifier).set_active() + server.users.find(identifier).set_active() else: - users.find(identifier).set_inactive() + server.users.find(identifier).set_inactive() def process_channel_marked(message_json): |