forked from Mirrors/freeswitch
FS-1828 --resolve
This commit is contained in:
parent
894ba68bc5
commit
78f3958f53
@ -606,7 +606,7 @@ static int on_disco_default(void *user_data, ikspak *pak)
|
|||||||
if ((iq = iks_new("iq"))) {
|
if ((iq = iks_new("iq"))) {
|
||||||
int all = 0;
|
int all = 0;
|
||||||
|
|
||||||
iks_insert_attrib(iq, "from", handle->login);
|
iks_insert_attrib(iq, "from", iks_find_attrib(pak->x, "to"));
|
||||||
if (pak->from) {
|
if (pak->from) {
|
||||||
iks_insert_attrib(iq, "to", pak->from->full);
|
iks_insert_attrib(iq, "to", pak->from->full);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user