[next] telepathy-logger: text-channel: remove Messages interface check
Jonny Lamb
jonny at kemper.freedesktop.org
Wed Aug 8 03:41:18 PDT 2012
Module: telepathy-logger
Branch: next
Commit: 9c13792b7f78331b55828e6a9f7444243926ec6d
URL: http://cgit.freedesktop.org/telepathy/telepathy-logger/commit/?id=9c13792b7f78331b55828e6a9f7444243926ec6d
Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date: Wed Aug 8 10:17:37 2012 +0100
text-channel: remove Messages interface check
It's mandatory now.
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
telepathy-logger/text-channel.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/telepathy-logger/text-channel.c b/telepathy-logger/text-channel.c
index 929c71f..d5a2070 100644
--- a/telepathy-logger/text-channel.c
+++ b/telepathy-logger/text-channel.c
@@ -565,16 +565,6 @@ _tpl_text_channel_prepare_core_async (TpProxy *proxy,
{
TplTextChannel *self = (TplTextChannel *) proxy;
- if (!tp_proxy_has_interface_by_id (self,
- TP_IFACE_QUARK_CHANNEL_INTERFACE_MESSAGES))
- {
- g_simple_async_report_error_in_idle ((GObject *) self,
- callback, user_data, TPL_TEXT_CHANNEL_ERROR,
- TPL_TEXT_CHANNEL_ERROR_NEED_MESSAGE_INTERFACE,
- "The text channel does not implement Message interface.");
- return;
- }
-
get_my_contact (self);
get_remote_contact (self);
store_pending_messages (self);
More information about the telepathy-commits
mailing list