diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-24 21:27:11 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-24 21:27:11 +0200 |
commit | a2e8e6bc4b1fa7a6b478ce699356bb3ab805492b (patch) | |
tree | a7ce2eb63a4b674563efd3485e848d792cccab12 /src/main/java/de/pixart/messenger/ui/UriHandlerActivity.java | |
parent | 5826be4383d471ae1993f479a6f2a1d00246fda5 (diff) |
no WelcomeActivity if MAGIC_CREATE_DOMAIN is unset
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/UriHandlerActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/UriHandlerActivity.java b/src/main/java/de/pixart/messenger/ui/UriHandlerActivity.java index 39aacd182..776973c09 100644 --- a/src/main/java/de/pixart/messenger/ui/UriHandlerActivity.java +++ b/src/main/java/de/pixart/messenger/ui/UriHandlerActivity.java @@ -13,6 +13,7 @@ import android.widget.Toast; import java.util.List; +import de.pixart.messenger.Config; import de.pixart.messenger.R; import de.pixart.messenger.persistance.DatabaseBackend; import de.pixart.messenger.utils.XmppUri; @@ -89,7 +90,7 @@ public class UriHandlerActivity extends AppCompatActivity { return; } - if (accounts.size() == 0) { + if (accounts.size() == 0 && Config.MAGIC_CREATE_DOMAIN != null) { intent = new Intent(getApplicationContext(), WelcomeActivity.class); WelcomeActivity.addInviteUri(intent, xmppUri); startActivity(intent); |