diff options
Diffstat (limited to 'alot/db/thread.py')
-rw-r--r-- | alot/db/thread.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/alot/db/thread.py b/alot/db/thread.py index 65e74a35..13ddabda 100644 --- a/alot/db/thread.py +++ b/alot/db/thread.py @@ -142,29 +142,6 @@ class Thread: tags = tags.intersection(set(m.get_tags())) return tags - def tags_add(self, tags): - """ - Asynchronously add `tags` to all messages in this thread - - :param tags: a set of tags to be added - :type tags: set of str - """ - - fut = self._dbman.tags_add('thread:' + self.id, tags) - fut.add_done_callback(lambda fut: self.refresh()) - return fut - - def tags_remove(self, tags): - """ - Asynchronously remove `tags` from all messages in this thread - :param tags: a set of tags to be added - :type tags: set of str - """ - fut = self._dbman.tags_remove('thread:' + self.id, tags) - fut.add_done_callback(lambda fut: self.refresh()) - return fut - - def get_authors(self): """ returns a list of authors (name, addr) of the messages. |