diff options
Diffstat (limited to 'src/eu/siacs/conversations/ui/ManageAccountActivity.java')
-rw-r--r-- | src/eu/siacs/conversations/ui/ManageAccountActivity.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/ui/ManageAccountActivity.java b/src/eu/siacs/conversations/ui/ManageAccountActivity.java index 105275ce..238cf0a4 100644 --- a/src/eu/siacs/conversations/ui/ManageAccountActivity.java +++ b/src/eu/siacs/conversations/ui/ManageAccountActivity.java @@ -100,7 +100,9 @@ public class ManageAccountActivity extends XmppActivity { .updateAccount(selectedAccountForActionMode); mode.finish(); } else if (item.getItemId() == R.id.mgmt_account_publish_avatar) { - startActivity(new Intent(getApplicationContext(), PublishProfilePictureActivity.class)); + Intent intent = new Intent(getApplicationContext(), PublishProfilePictureActivity.class); + intent.putExtra("account", selectedAccountForActionMode.getJid()); + startActivity(intent); } else if (item.getItemId() == R.id.mgmt_account_delete) { AlertDialog.Builder builder = new AlertDialog.Builder(activity); builder.setTitle(getString(R.string.mgmt_account_are_you_sure)); |