diff --git a/src/org/thoughtcrime/securesms/ConversationActivity.java b/src/org/thoughtcrime/securesms/ConversationActivity.java index 1504e885a0..566b81f5ed 100644 --- a/src/org/thoughtcrime/securesms/ConversationActivity.java +++ b/src/org/thoughtcrime/securesms/ConversationActivity.java @@ -33,6 +33,7 @@ import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; import android.os.Vibrator; +import android.provider.Browser; import android.provider.ContactsContract; import android.support.annotation.NonNull; import android.support.v4.view.WindowCompat; @@ -368,6 +369,14 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity } } + @Override + public void startActivity(Intent intent) { + if (intent.getStringExtra(Browser.EXTRA_APPLICATION_ID) != null) { + intent.removeExtra(Browser.EXTRA_APPLICATION_ID); + } + super.startActivity(intent); + } + @Override public boolean onPrepareOptionsMenu(Menu menu) { MenuInflater inflater = this.getMenuInflater();