aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2014-10-27 15:57:35 -0700
committerRyan Huber <rhuber@gmail.com>2014-10-27 15:57:35 -0700
commitaa11b15452bcf1f196cb5998d4adc30c92305cf3 (patch)
tree7f163cf80aa36b222ab8c1a4683030359538fe3d /wee_slack.py
parent7f2794ee814607b4b113c914e34683ef833fc65e (diff)
downloadwee-slack-aa11b15452bcf1f196cb5998d4adc30c92305cf3.tar.gz
don't do by name
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 6a955cc..03a8d72 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -253,6 +253,7 @@ def input(b, c, data):
channel = channels.find(c)
channel.send_message(data)
channel.buffer_prnt(channel.server.nick, data)
+ channel.mark_read(True)
return w.WEECHAT_RC_ERROR
class Channel(SlackThing):
@@ -764,7 +765,7 @@ def typing_bar_item_cb(data, buffer, args):
for dm in channels.find_by_class(DmChannel):
direct_typers.extend(dm.get_typing_list())
direct_typers = ["D/" + x for x in direct_typers]
- current_channel = current_buffer_name(short=True)
+ current_channel = w.current_buffer()
channel = channels.find(current_channel)
if channel and channel.__class__ != DmChannel:
channel_typers = channels.find(current_channel).get_typing_list()