aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Straub <andy@strb.org>2015-07-08 18:13:49 +0200
committerAndreas Straub <andy@strb.org>2015-07-19 22:17:57 +0200
commitf1d73b9d4e64150cda347223afdeaee2ddf595eb (patch)
tree85cc01dac99e28e3fa5676907a7a03ae27740ce2 /src
parent540faeb54b1fb230e624573840284daabaf4919b (diff)
Use full int range for device IDs
Diffstat (limited to 'src')
-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;
}