From 9c13792b7f78331b55828e6a9f7444243926ec6d Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Wed, 8 Aug 2012 10:17:37 +0100 Subject: text-channel: remove Messages interface check It's mandatory now. Signed-off-by: Jonny Lamb --- telepathy-logger/text-channel.c | 10 ---------- 1 file changed, 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); -- cgit v1.2.3