[Bug 75581] [next] remove tp_message_peek()

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 3 03:02:51 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75581

--- Comment #16 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> ---
Comment on attachment 94838
  --> https://bugs.freedesktop.org/attachment.cgi?id=94838
use tp_message_dup_part() instead of tp_message_peek()

Review of attachment 94838:
 --> (https://bugs.freedesktop.org/page.cgi?id=splinter.html&bug=75581&attachment=94838)
-----------------------------------------------------------------

::: telepathy-glib/cm-message.c
@@ +307,4 @@
>    g_return_val_if_fail (TP_IS_CM_MESSAGE (self), 0);
> +
> +  header = tp_message_dup_part (self, 0);
> +  g_variant_lookup (header, "message-sender", "u", &sender);

Done.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list