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 ButterflyTextChannel.get_participants(self) else: return set([self._initial_handle.contact])