fix escapeing in local channel discovery

(cherry picked from commit 386b224123f4d0f0e058aa8075dbe3fa506a8859)
This commit is contained in:
Christoph Scholz 2020-11-09 12:26:13 +01:00 committed by Christian Schneppe
parent 76ae854b4b
commit 44946b8aa1

View file

@ -76,7 +76,7 @@ public class IqParser extends AbstractParser implements OnIqPacketReceived {
}
final Element identity = query.findChild("identity");
Data data = Data.parse(x);
String address = packet.getFrom().toEscapedString();
String address = packet.getFrom().toString();
String name = identity == null ? null : identity.getAttribute("name");
String roomName = data.getValue("muc#roomconfig_roomname");
String description = data.getValue("muc#roominfo_description");