diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-10-09 13:37:08 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-10-09 13:37:08 +0200 |
commit | b23cb5a9e43d804551dc18f399ffbec991479ee6 (patch) | |
tree | e54e041a2487ba4bb899a313e2090cdda47e5696 /src/main/java/eu/siacs/conversations/ui/XmppActivity.java | |
parent | ef605e4cbd162d48e40d13d91b188b9838de308d (diff) |
initial UI work to allow setting up accounts from certifcates
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index 967efec92..e3848fe28 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -435,8 +435,13 @@ public abstract class XmppActivity extends Activity { } public void switchToAccount(Account account) { + switchToAccount(account,false); + } + + public void switchToAccount(Account account, boolean init) { Intent intent = new Intent(this, EditAccountActivity.class); intent.putExtra("jid", account.getJid().toBareJid().toString()); + intent.putExtra("init", init); startActivity(intent); } |