From df3f6ab6b25a9eff1df908bf8a4110e7f66ff144 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sun, 24 Sep 2017 01:21:44 +0200 Subject: 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. --- wee_slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit