From 09a20a54f5b7384ab93388cb8642dcd8959daf98 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 22 Nov 2011 15:42:11 +0100 Subject: don't ignore TP_DELIVERY_STATUS_TEMPORARILY_FAILED delivery report We should display an error message as well if not the user will assume the message has been sent and the spinner keeps spinning. https://bugzilla.gnome.org/show_bug.cgi?id=664564 --- libempathy/empathy-tp-chat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libempathy/empathy-tp-chat.c') diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index d34f581ef..96eda77b8 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -365,7 +365,8 @@ handle_delivery_report (EmpathyTpChat *self, tp_chat_set_delivery_status (self, delivery_token, EMPATHY_DELIVERY_STATUS_NONE); goto out; - } else if (delivery_status != TP_DELIVERY_STATUS_PERMANENTLY_FAILED) { + } else if (delivery_status != TP_DELIVERY_STATUS_PERMANENTLY_FAILED && + delivery_status != TP_DELIVERY_STATUS_TEMPORARILY_FAILED) { goto out; } -- cgit v1.2.3