aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2017-09-24 01:21:44 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2017-09-24 01:21:44 +0200
commitdf3f6ab6b25a9eff1df908bf8a4110e7f66ff144 (patch)
tree5745648350c933d40d513eeb8093de141750a6d4 /wee_slack.py
parentfb0b974de5202176eacc281bd1f96295fcc64738 (diff)
downloadwee-slack-df3f6ab6b25a9eff1df908bf8a4110e7f66ff144.tar.gz
refactor: Set same signature for mark_read everywhere
This changes the signature of mark_read in SlackTeam to match the one in SlackChannel. This is done so we can call mark_read on all the items in the list of buffers (which has both teams and channels), without checking if the items are channels.
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 0346e23..939722a 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -1026,7 +1026,7 @@ class SlackTeam(object):
else:
return False
- def mark_read(self):
+ def mark_read(self, ts=None, update_remote=True, force=False):
pass
def connect(self):