diff options
author | Sandy Rogers <s@ndyroge.rs> | 2018-01-17 14:04:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-17 14:04:08 +0000 |
commit | 2d4c94c58ff9e3d11b307283a99e9144cbc9c829 (patch) | |
tree | e13c08ff18871212a435eadc146e2bb826201522 | |
parent | 0f32714d0abd47ec659d6e25ec5c4da6494d774b (diff) | |
download | wee-slack-2d4c94c58ff9e3d11b307283a99e9144cbc9c829.tar.gz |
Include members set and team in SlackThreadChannel
Allows autocompletion of nicks to work (instead of error from `nick_completion_cb`)
-rw-r--r-- | wee_slack.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wee_slack.py b/wee_slack.py index 16d5569..cc93314 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1756,6 +1756,8 @@ class SlackThreadChannel(object): self.type = "thread" self.got_history = False self.label = None + self.members = self.parent_message.channel.members + self.team = self.parent_message.channel.team # self.set_name(self.slack_name) # def set_name(self, slack_name): # self.name = "#" + slack_name |