diff options
-rw-r--r-- | telepathy-glib/channel.c | 2 | ||||
-rw-r--r-- | telepathy-glib/telepathy-glib.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-glib/channel.c b/telepathy-glib/channel.c index 2a1ad078a..97af2acaa 100644 --- a/telepathy-glib/channel.c +++ b/telepathy-glib/channel.c @@ -1956,7 +1956,7 @@ channel_remove_self_cb (TpChannel *channel, { GSimpleAsyncResult *result = user_data; - if (tp_proxy_get_invalidated (channel) != NULL && + if (tp_proxy_get_invalidated (channel) == NULL && error != NULL) { DEBUG ("RemoveMembersWithDetails() with self handle failed; call Close()" diff --git a/telepathy-glib/telepathy-glib.h b/telepathy-glib/telepathy-glib.h index 17d16dc0e..0e3ac96de 100644 --- a/telepathy-glib/telepathy-glib.h +++ b/telepathy-glib/telepathy-glib.h @@ -58,6 +58,7 @@ #include <telepathy-glib/capabilities.h> #include <telepathy-glib/channel-dispatch-operation.h> #include <telepathy-glib/channel-dispatcher.h> +#include <telepathy-glib/channel-iface.h> #include <telepathy-glib/channel-manager.h> #include <telepathy-glib/channel-request.h> #include <telepathy-glib/channel.h> |