diff --git a/src/org/thoughtcrime/securesms/jobs/GcmRefreshJob.java b/src/org/thoughtcrime/securesms/jobs/GcmRefreshJob.java index 25b10041e4..a53446cd41 100644 --- a/src/org/thoughtcrime/securesms/jobs/GcmRefreshJob.java +++ b/src/org/thoughtcrime/securesms/jobs/GcmRefreshJob.java @@ -66,6 +66,7 @@ public class GcmRefreshJob extends ContextJob { String gcmId = GoogleCloudMessaging.getInstance(context).register(REGISTRATION_ID); accountManager.setGcmId(Optional.of(gcmId)); TextSecurePreferences.setGcmRegistrationId(context, gcmId); + TextSecurePreferences.setWebsocketRegistered(context, true); } } }