From 78f3958f5365b1b963b5a1c91e57a8d7b6a6a2e0 Mon Sep 17 00:00:00 2001 From: Marc Olivier Chouinard Date: Thu, 15 Dec 2011 11:35:33 -0500 Subject: [PATCH] FS-1828 --resolve --- libs/libdingaling/src/libdingaling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libdingaling/src/libdingaling.c b/libs/libdingaling/src/libdingaling.c index f0b85e87f6..9394a600d9 100644 --- a/libs/libdingaling/src/libdingaling.c +++ b/libs/libdingaling/src/libdingaling.c @@ -606,7 +606,7 @@ static int on_disco_default(void *user_data, ikspak *pak) if ((iq = iks_new("iq"))) { int all = 0; - iks_insert_attrib(iq, "from", handle->login); + iks_insert_attrib(iq, "from", iks_find_attrib(pak->x, "to")); if (pak->from) { iks_insert_attrib(iq, "to", pak->from->full); }