ChannelRequest: Proceed fails if account is deleted
Submitted by Simon McVittie
Assigned to Telepathy bugs list
Description
- /* FIXME: this isn't ideal - if the account is deleted, Proceed will fail,
-
* whereas what we want to happen is that Proceed will succeed but
-
* immediately cause a failure to be signalled. It'll do for now though. */
- /* we use connect_after, to make sure that other signals (such as * RemoveFailedRequest) are emitted before the Failed signal / / WARNING: on_channel_status_changed unrefs the McdChannel (!), so we * give it an extra reference, so that we can return a ref from this * function */ g_signal_connect_after (g_object_ref (channel), "status-changed", G_CALLBACK (on_channel_status_changed), account);