mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-26 04:36:42 +00:00
Having calling code specify push URL to library.
This commit is contained in:
@@ -314,7 +314,8 @@ public class ApplicationPreferencesActivity extends PassphraseRequiredSherlockPr
|
||||
protected Integer doInBackground(Void... params) {
|
||||
try {
|
||||
Context context = ApplicationPreferencesActivity.this;
|
||||
PushServiceSocket socket = new PushServiceSocket(context, TextSecurePushCredentials.getInstance());
|
||||
PushServiceSocket socket = new PushServiceSocket(context, Release.PUSH_URL,
|
||||
TextSecurePushCredentials.getInstance());
|
||||
|
||||
socket.unregisterGcmId();
|
||||
GCMRegistrar.unregister(context);
|
||||
|
||||
Reference in New Issue
Block a user