[Telepathy-commits] [telepathy-gabble/master] don't queue MUC invite reasons as a text message, we've got the LocalPendingMembers property
Robert McQueen
robert.mcqueen at collabora.co.uk
Tue Aug 19 10:54:00 PDT 2008
20080726235507-418b8-a9ea8222a6fda83777783eea398c4e723fbba5b3.gz
---
src/muc-channel.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/muc-channel.c b/src/muc-channel.c
index dd02d1e..2f2f64f 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -2266,14 +2266,6 @@ _gabble_muc_channel_handle_invited (GabbleMucChannel *chan,
tp_intset_destroy (set_members);
tp_intset_destroy (set_pending);
- /* queue the message */
- if (message && (message[0] != '\0'))
- {
- tp_text_mixin_receive (G_OBJECT (chan),
- TP_CHANNEL_TEXT_MESSAGE_TYPE_NOTICE, inviter,
- time (NULL), message);
- }
-
/* emit READY signal so NewChannel is emitted */
g_signal_emit (chan, signals[READY], 0);
priv->ready_emitted = TRUE;
@@ -2557,9 +2549,6 @@ gabble_muc_channel_add_member (GObject *obj,
/* deny adding */
tp_group_mixin_change_flags (obj, 0, TP_CHANNEL_GROUP_FLAG_CAN_ADD);
- /* clear message queue (which might contain an invite reason) */
- tp_text_mixin_clear (obj);
-
return result;
}
--
1.5.6.3
More information about the Telepathy-commits
mailing list