mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 23:27:33 +00:00
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user