diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-09-20 16:02:49 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-09-20 16:02:49 +0200 |
commit | 0b86f65bdc8dfd979be752798b7cbc3c28317c53 (patch) | |
tree | cca3a81bee22c5ed0c3446a04d620d7b0c6079e5 /src/eu/siacs/conversations/ui/XmppActivity.java | |
parent | 295bfb7f1de98649d8a7dd5f77745e50bfc25f56 (diff) |
fixed #470
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/ui/XmppActivity.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/XmppActivity.java b/src/eu/siacs/conversations/ui/XmppActivity.java index 4ee515804..351462aee 100644 --- a/src/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/eu/siacs/conversations/ui/XmppActivity.java @@ -247,6 +247,12 @@ public abstract class XmppActivity extends Activity { intent.putExtra("contact", contact.getJid()); startActivity(intent); } + + public void switchToAccount(Account account) { + Intent intent = new Intent(this, EditAccountActivity.class); + intent.putExtra("jid", account.getJid()); + startActivity(intent); + } protected void inviteToConversation(Conversation conversation) { Intent intent = new Intent(getApplicationContext(), |