[Telepathy-commits] [telepathy-sofiasip/master] Ignore provisional responses to a MESSAGE

Mikhail Zabaluev mikhail.zabaluev at nokia.com
Mon Feb 9 06:02:23 PST 2009


---
 src/sip-text-channel.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/sip-text-channel.c b/src/sip-text-channel.c
index 1a075a6..ef330f2 100644
--- a/src/sip-text-channel.c
+++ b/src/sip-text-channel.c
@@ -893,7 +893,9 @@ tpsip_text_channel_nua_r_message_cb (TpsipTextChannel *self,
   TpChannelTextSendError send_error;
   GList *node;
 
-  DEBUG("enter");
+  /* ignore provisional responses */
+  if (ev->status < 200)
+    return TRUE;
 
   node = g_queue_find_custom (priv->sending_messages,
                               ev->nua_handle,
-- 
1.5.6.5



More information about the telepathy-commits mailing list