Fix setCorrectCurrentItem() for account items

This commit is contained in:
miruka 2020-05-17 15:32:10 -04:00
parent ef9b880152
commit 59486ca65d

View File

@ -182,8 +182,7 @@ HListView {
) || (
currentShouldBeAccount &&
item.type === "Account" &&
item.id === wantedRoomId &&
item.for_account === wantedUserId
item.id === wantedUserId
)) {
currentIndex = i
return true