diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2019-08-24 16:58:00 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2019-08-25 19:40:41 +0200 |
commit | e8a4b7bec7575a8d240f32ffad9c8b0bf81c0207 (patch) | |
tree | d69f8ca77569f5e6154b08b3d08082c2cc17263b /wee_slack.py | |
parent | 46c22cebf49ae1ef158e1fa84d00c5542c7fb1b2 (diff) | |
download | wee-slack-e8a4b7bec7575a8d240f32ffad9c8b0bf81c0207.tar.gz |
Use name instead of slack_name in /slack channels command
This includes the prefix that shows the channel type.
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 8bcad88..7c59e7b 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -3736,8 +3736,8 @@ def command_channels(data, current_buffer, args): team = EVENTROUTER.weechat_controller.buffers[current_buffer].team team.buffer_prnt("Channels:") - for channel in team.get_channel_map(): - team.buffer_prnt(" {}".format(channel)) + for channel in team.channels.values(): + team.buffer_prnt(" {}".format(channel.name)) return w.WEECHAT_RC_OK_EAT |