aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/xmpp/XmppConnection.java
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-04 22:26:46 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-02-04 22:26:46 +0100
commitc01f2cedb6ae599c2ddc4c52b5176ca07275283f (patch)
treefe529e2e29467f9aced1bdf681ac0d423b1bc067 /src/de/gultsch/chat/xmpp/XmppConnection.java
parent4fd8620c6cc1ca88c4496671e6e59c40aba93019 (diff)
delete account code now accessible again
Diffstat (limited to '')
-rw-r--r--src/de/gultsch/chat/xmpp/XmppConnection.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/xmpp/XmppConnection.java b/src/de/gultsch/chat/xmpp/XmppConnection.java
index e86bb66c..a7254624 100644
--- a/src/de/gultsch/chat/xmpp/XmppConnection.java
+++ b/src/de/gultsch/chat/xmpp/XmppConnection.java
@@ -141,6 +141,9 @@ public class XmppConnection implements Runnable {
Element failure = tagReader.readElement(nextTag);
Log.d(LOGTAG,"read failure element"+failure.toString());
account.setStatus(Account.STATUS_UNAUTHORIZED);
+ if (statusListener!=null) {
+ statusListener.onStatusChanged(account);
+ }
tagWriter.writeTag(Tag.end("stream"));
} else if (nextTag.isStart("iq")) {
processIq(nextTag);