diff --git a/src/commoncomponents/AccountMigrationDialog.qml b/src/commoncomponents/AccountMigrationDialog.qml
index 0f6a804645c8e2e4076bbb8b24cf97fe736ba91f..04db7cb1bead11ea7baf40c78b427a07a322d607 100644
--- a/src/commoncomponents/AccountMigrationDialog.qml
+++ b/src/commoncomponents/AccountMigrationDialog.qml
@@ -88,8 +88,6 @@ Window {
         accountID = accountsToMigrateListModel.data(accountsToMigrateListModel.index(
                                                         0, 0), AccountsToMigrateListModel.Account_ID)
 
-        avatarImg.updateImage(accountID)
-
         connectionMigrationEnded.enabled = false
         migrationPushButton.enabled = false
         stackedWidget.currentIndex = 0
@@ -284,11 +282,10 @@ Window {
                             color: "transparent"
 
                             Avatar {
-                                id: avatarImg
-
                                 anchors.fill: parent
                                 showPresenceIndicator: false
                                 mode: Avatar.Mode.Account
+                                imageId: accountID
                             }
                         }
                     }