aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2014-10-14 06:02:23 -0700
committerRyan Huber <rhuber@gmail.com>2014-10-14 06:02:23 -0700
commitbea7d576fc284cf998ad9387aca35e77532e6614 (patch)
tree3af409abcd78b25b119998564091227501b058ac /wee_slack.py
parentd7c31bf360ce5ddc2f2f15492b1fa394fce35106 (diff)
downloadwee-slack-bea7d576fc284cf998ad9387aca35e77532e6614.tar.gz
prefer this style..
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 8f796b8..ab3d446 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -206,7 +206,7 @@ def process_presence_change(data):
if data["presence"] == 'active':
modify_buffer_name(data["user"], "+%s")
else:
- modify_buffer_name(data["user"], "-%s")
+ modify_buffer_name(data["user"], " %s")
def process_channel_marked(message_json):
channel = message_json["channel"]
@@ -396,7 +396,7 @@ def set_initial_statii(data):
if user["presence"] == "active":
modify_buffer_name(user["name"], "+%s")
else:
- modify_buffer_name(user["name"], "-%s")
+ modify_buffer_name(user["name"], " %s")
def create_slack_lookup_hashes(login_data):
global user_hash, channel_hash, reverse_channel_hash