put initial xmpp uri into signup intent
This commit is contained in:
parent
bc7c378080
commit
9acde9e105
2 changed files with 2 additions and 2 deletions
|
@ -88,6 +88,7 @@ public class UriHandlerActivity extends AppCompatActivity {
|
|||
if (accounts.size() == 0) {
|
||||
if (xmppUri.isJidValid()) {
|
||||
intent = SignupUtils.getSignUpIntent(this);
|
||||
intent.putExtra(StartConversationActivity.EXTRA_INVITE_URI, xmppUri.toString());
|
||||
startActivity(intent);
|
||||
} else {
|
||||
Toast.makeText(this, R.string.invalid_jid, Toast.LENGTH_SHORT).show();
|
||||
|
|
|
@ -15,8 +15,7 @@ import de.pixart.messenger.ui.WelcomeActivity;
|
|||
public class SignupUtils {
|
||||
|
||||
public static Intent getSignUpIntent(final Activity activity) {
|
||||
Intent intent = new Intent(activity, WelcomeActivity.class);
|
||||
StartConversationActivity.addInviteUri(intent, activity.getIntent());
|
||||
final Intent intent = new Intent(activity, WelcomeActivity.class);
|
||||
return intent;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue