diff options
author | Aidan Epstein <aidan@jmad.org> | 2020-03-30 17:34:35 -0700 |
---|---|---|
committer | Aidan Epstein <aidan@jmad.org> | 2020-03-30 17:34:35 -0700 |
commit | 83fd2ec086211afa06aabb54d63c47af69b3c725 (patch) | |
tree | 66eac63425e4e9a6887d9133450849072d4bdc4c | |
parent | dd3e528b2fdca8bc0c328fe1f06c0de25b5569c0 (diff) | |
download | wee-slack-83fd2ec086211afa06aabb54d63c47af69b3c725.tar.gz |
Remove thread_messages_in_channel mark_read-ing.
This doesn't work because thread_channels only includes threads that
have buffers open.
-rw-r--r-- | wee_slack.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/wee_slack.py b/wee_slack.py index 560e075..e18613e 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1959,12 +1959,6 @@ class SlackChannel(SlackChannelCommon): del self.typing[user] return typing - def mark_read(self, ts=None, update_remote=True, force=False, post_data={}): - if config.thread_messages_in_channel and update_remote: - for thread_channel in self.thread_channels.values(): - thread_channel.mark_read(ts=ts, update_remote=update_remote, force=force, post_data=post_data) - super(SlackChannel, self).mark_read(ts=ts, update_remote=update_remote, force=force, post_data=post_data) - def user_joined(self, user_id): # ugly hack - for some reason this gets turned into a list self.members = set(self.members) |