mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
parent
da75268545
commit
e7eb0ec2b3
@ -66,6 +66,7 @@ public class GcmRefreshJob extends ContextJob {
|
|||||||
String gcmId = GoogleCloudMessaging.getInstance(context).register(REGISTRATION_ID);
|
String gcmId = GoogleCloudMessaging.getInstance(context).register(REGISTRATION_ID);
|
||||||
accountManager.setGcmId(Optional.of(gcmId));
|
accountManager.setGcmId(Optional.of(gcmId));
|
||||||
TextSecurePreferences.setGcmRegistrationId(context, gcmId);
|
TextSecurePreferences.setGcmRegistrationId(context, gcmId);
|
||||||
|
TextSecurePreferences.setWebsocketRegistered(context, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user