fix escapeing in local channel discovery

This commit is contained in:
Christoph Scholz 2020-11-09 12:26:13 +01:00 committed by Daniel Gultsch
parent 501cdd5edf
commit 386b224123

View file

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