telepathy-glib has had TpBaseChannel since 0.11.14. It'd be good to use it in Idle.
+ const gchar *recipient = tp_handle_inspect (
+ tp_base_connection_get_handles (conn, TP_HANDLE_TYPE_CONTACT),
+ tp_base_channel_get_target_handle (base));
I'm a bit surprised we don't have tp_base_channel_get_target_id(), but indeed, we don't.
This looks good to merge, but leave the bug open (assuming room channels still need the same treatment).
(In reply to comment #2)
> This looks good to merge, but leave the bug open (assuming room channels still
> need the same treatment).