Example #1
0
 def __init__(self, session, idx, new, sent, **kwargs):
     SearchResults.__init__(self, session, idx, **kwargs)
     self.new_messages = new
     self.sent_messages = sent
     if new:
         self['created'] = [m.msg_mid() for m in new]
     if sent:
         self['sent'] = [m.msg_mid() for m in new]
Example #2
0
 def __init__(self, session, idx, new, sent, **kwargs):
     SearchResults.__init__(self, session, idx, **kwargs)
     self.new_messages = new
     self.sent_messages = sent
     if new:
         self['created'] = [m.msg_mid() for m in new]
     if sent:
         self['sent'] = [m.msg_mid() for m in new]
Example #3
0
 def _prune_msg_tree(self, *args, **kwargs):
   kwargs['editable'] = True
   return SearchResults._prune_msg_tree(self, *args, **kwargs)
Example #4
0
 def __init__(self, session, idx, new_messages, **kwargs):
     SearchResults.__init__(self, session, idx, *kwargs)
     self.new_messages = new_messages
Example #5
0
 def _prune_msg_tree(self, *args, **kwargs):
     kwargs['editable'] = True
     return SearchResults._prune_msg_tree(self, *args, **kwargs)