Exemple #1
0
 def get_participants(self):
     # If we have no conversation, our contact is probably offline,
     # so we don't actually want this to return our offline contact
     # as adding him or her to a MUC won't work either.
     if self._conversation is None:
         return GlitterTextChannel.get_participants(self)
     else:
         return set([self._initial_handle.contact])