[Telepathy-commits] [telepathy-glib/master] MessageMixin: correctly extract Send_Error from failed delivery reports

Will Thompson will.thompson at collabora.co.uk
Thu Dec 18 10:41:56 PST 2008


---
 telepathy-glib/message-mixin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/telepathy-glib/message-mixin.c b/telepathy-glib/message-mixin.c
index 37c64fc..9989d9e 100644
--- a/telepathy-glib/message-mixin.c
+++ b/telepathy-glib/message-mixin.c
@@ -1489,7 +1489,7 @@ queue_pending (gpointer data)
     {
       /* Fallback behaviour here is okay: 0 is Send_Error_Unknown */
       TpChannelTextSendError send_error = tp_asv_get_uint32 (header,
-          "delivery-status", NULL);
+          "delivery-error", NULL);
       GPtrArray *echo = tp_asv_get_boxed (header, "delivery-echo",
           /* FIXME: TP_ARRAY_TYPE_MESSAGE_PART_LIST */
           dbus_g_type_get_collection ("GPtrArray", TP_HASH_TYPE_MESSAGE_PART));
-- 
1.5.6.5




More information about the Telepathy-commits mailing list