Commit addd2c2a authored by thierrytiti's avatar thierrytiti Committed by JC Brand

Bug in parsing search result

parent 87ff04d8
...@@ -1717,7 +1717,7 @@ ...@@ -1717,7 +1717,7 @@
$('<li class="found-user"></li>') $('<li class="found-user"></li>')
.append( .append(
$('<a class="subscribe-to-user" href="#" title="'+__('Click to add as a chat contact')+'"></a>') $('<a class="subscribe-to-user" href="#" title="'+__('Click to add as a chat contact')+'"></a>')
.attr('data-recipient', Strophe.escapeNode(obj.id)+'@'+converse.domain) .attr('data-recipient', Strophe.getNodeFromJid(obj.id)+"@"+Strophe.getDomainFromJid(obj.id))
.text(obj.fullname) .text(obj.fullname)
) )
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment