From f8a94ec52e84a4903b55b6e456e6e7aa4a77d2be Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 6 Sep 2019 21:51:30 +0200 Subject: deleted wrong to jid fixes #374 --- src/main/java/de/pixart/messenger/xmpp/XmppConnection.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java b/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java index 9f0d9a0fe..01c19322b 100644 --- a/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java +++ b/src/main/java/de/pixart/messenger/xmpp/XmppConnection.java @@ -1033,7 +1033,6 @@ public class XmppConnection implements Runnable { public void sendDeleteRequest() { final IqPacket delete = new IqPacket(IqPacket.TYPE.SET); delete.query(Namespace.REGISTER).addChild("remove"); - delete.setTo(Jid.of(account.getServer())); delete.setFrom(account.getJid().asBareJid()); sendUnmodifiedIqPacket(delete, (account, packet) -> { if (packet.getType() == IqPacket.TYPE.TIMEOUT) { -- cgit v1.2.3