aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/ui/ManageAccountActivity.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-03 20:42:05 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-03 20:42:05 +0200
commit629ff3afcdba5e6721a1b63cd0d497d97e3bdbed (patch)
tree6e536f1070c72d895fb87721f6c3a864de5a3716 /src/eu/siacs/conversations/ui/ManageAccountActivity.java
parent5073069adbc3fb88618d670b5cefa2cb2c2be19b (diff)
proper account send to publish avatar activity
Diffstat (limited to 'src/eu/siacs/conversations/ui/ManageAccountActivity.java')
-rw-r--r--src/eu/siacs/conversations/ui/ManageAccountActivity.java4
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));