mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Fix build.
This commit is contained in:
parent
c4209a65e3
commit
73b75a4a27
@ -180,7 +180,7 @@ public class RegistrationService extends Service {
|
|||||||
int registrationId = TextSecurePreferences.getLocalRegistrationId(this);
|
int registrationId = TextSecurePreferences.getLocalRegistrationId(this);
|
||||||
|
|
||||||
if (registrationId == 0) {
|
if (registrationId == 0) {
|
||||||
registrationId = KeyHelper.generateRegistrationId();
|
registrationId = KeyHelper.generateRegistrationId(false);
|
||||||
TextSecurePreferences.setLocalRegistrationId(this, registrationId);
|
TextSecurePreferences.setLocalRegistrationId(this, registrationId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user