Fix setCorrectCurrentItem() for account items
This commit is contained in:
parent
ef9b880152
commit
59486ca65d
|
@ -182,8 +182,7 @@ HListView {
|
||||||
) || (
|
) || (
|
||||||
currentShouldBeAccount &&
|
currentShouldBeAccount &&
|
||||||
item.type === "Account" &&
|
item.type === "Account" &&
|
||||||
item.id === wantedRoomId &&
|
item.id === wantedUserId
|
||||||
item.for_account === wantedUserId
|
|
||||||
)) {
|
)) {
|
||||||
currentIndex = i
|
currentIndex = i
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user