aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-07-08 18:13:49 +0200
committerAndreas Straub <andy@strb.org>2015-07-08 18:13:49 +0200
commit121919def1d75520d25a3e7d4888a521da5b0a77 (patch)
tree3cbd3bb4e1cee2f9342daec65c7b0847e0e9ac4c /src/main/java
parent6b0d2865187931b233357f8858e34e7e9dd36be8 (diff)
Use full int range for device IDs
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
index 3c9584d3..ef7c523d 100644
--- a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
+++ b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java
@@ -110,7 +110,7 @@ public class AxolotlService {
private static int generateRegistrationId() {
Log.i(Config.LOGTAG, AxolotlService.LOGPREFIX+" : "+"Generating axolotl registration ID...");
- int reg_id = KeyHelper.generateRegistrationId(false);
+ int reg_id = KeyHelper.generateRegistrationId(true);
return reg_id;
}