aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/xmpp
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2014-12-23 17:19:00 -0500
committerDaniel Gultsch <daniel@gultsch.de>2014-12-25 21:38:55 +0100
commite4d9dca2fe6a75960d24f8af4dadba9a1a42845c (patch)
tree71ee843312cc2ede584e523832a74ced950fd789 /src/main/java/eu/siacs/conversations/xmpp
parent2081c1bef767907479bbad1971f4cb0e0074bfbd (diff)
Add ability to change password on server
Fixes #260
Diffstat (limited to 'src/main/java/eu/siacs/conversations/xmpp')
-rw-r--r--src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
index 7fd0a4b6c..b03d3f743 100644
--- a/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
+++ b/src/main/java/eu/siacs/conversations/xmpp/XmppConnection.java
@@ -1082,6 +1082,10 @@ public class XmppConnection implements Runnable {
return hasDiscoFeature(account.getServer(), Xmlns.BLOCKING);
}
+ public boolean register() {
+ return hasDiscoFeature(account.getServer(), Xmlns.REGISTER);
+ }
+
public boolean sm() {
return streamId != null;
}