diff options
-rw-r--r-- | build.gradle | 4 | ||||
-rw-r--r-- | src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java | 11 |
2 files changed, 8 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle index 68b1b2f2..fd5805e8 100644 --- a/build.gradle +++ b/build.gradle @@ -44,8 +44,8 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 19 - versionCode 32 - versionName "0.8-alpha" + versionCode 33 + versionName "0.8.1" } compileOptions { diff --git a/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java b/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java index c96d116d..b8454d5e 100644 --- a/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java +++ b/src/main/java/eu/siacs/conversations/generator/AbstractGenerator.java @@ -1,5 +1,7 @@ package eu.siacs.conversations.generator; +import android.util.Base64; + import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Arrays; @@ -8,18 +10,17 @@ import java.util.List; import eu.siacs.conversations.services.XmppConnectionService; -import android.util.Base64; - public abstract class AbstractGenerator { - public final String[] FEATURES = { "urn:xmpp:jingle:1", + public final String[] FEATURES = {"urn:xmpp:jingle:1", "urn:xmpp:jingle:apps:file-transfer:3", "urn:xmpp:jingle:transports:s5b:1", "urn:xmpp:jingle:transports:ibb:1", "urn:xmpp:receipts", "urn:xmpp:chat-markers:0", "http://jabber.org/protocol/muc", "jabber:x:conference", "http://jabber.org/protocol/caps", "http://jabber.org/protocol/disco#info", - "urn:xmpp:avatar:metadata+notify" }; - public final String IDENTITY_NAME = "Conversations 0.7"; + "urn:xmpp:avatar:metadata+notify", + "urn:xmpp:ping"}; + public final String IDENTITY_NAME = "Conversations 0.8.1"; public final String IDENTITY_TYPE = "phone"; protected XmppConnectionService mXmppConnectionService; |