No information on why tubes close
@wjt
Submitted by Will Thompson Assigned to Telepathy bugs list
Description
Currently, if you have a tube you don't want, the only way to get rid of it is to Close() it. Equally, if a tube closes up for some reason, the only way the CM can report it is by emitting Closed. There's no API for explicitly rejecting an offered tube, or for propagating errors.
From test_offer_invalidated_before_open in tests/dbus/dbus-tube.c in tp-glib:
/* FIXME: this isn't a particularly good error… it's just what comes out when
- the channel gets closed from under us, and there isn't really API on
- DBusTube to give a better error. */ g_assert_error (test->error, TP_DBUS_ERRORS, TP_DBUS_ERROR_OBJECT_REMOVED);
Version: git master