diff options
author | Ryan Huber <rhuber@gmail.com> | 2014-10-27 15:57:35 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2014-10-27 15:57:35 -0700 |
commit | aa11b15452bcf1f196cb5998d4adc30c92305cf3 (patch) | |
tree | 7f163cf80aa36b222ab8c1a4683030359538fe3d /wee_slack.py | |
parent | 7f2794ee814607b4b113c914e34683ef833fc65e (diff) | |
download | wee-slack-aa11b15452bcf1f196cb5998d4adc30c92305cf3.tar.gz |
don't do by name
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 3 |
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() |