def _publish_channel_cb(self, channel): TelepathyPlugin._publish_channel_cb(self, channel) publish_handles, local_pending, remote_pending = \ self._publish_channel[CHANNEL_INTERFACE_GROUP].GetAllMembers() local_pending = self._filter_trusted_server(local_pending) if local_pending: # accept pending subscriptions # FIXME: do this async self._publish_channel[CHANNEL_INTERFACE_GROUP].AddMembers( local_pending, '') self._add_not_subscribed_to_subscribe_channel()