parent
01633280e5
commit
fbc867e031
1 changed files with 5 additions and 1 deletions
|
@ -240,7 +240,11 @@ impl PublicRoomList {
|
||||||
(position - 1, 0, added)
|
(position - 1, 0, added)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
(position, 1, added)
|
if position == 0 {
|
||||||
|
(position, 0, added)
|
||||||
|
} else {
|
||||||
|
(position - 1, 1, added)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue