Cycle unread rooms with alt+m when no more mention
This commit is contained in:
parent
ddf7e724fd
commit
315237b411
|
@ -150,7 +150,11 @@ HListView {
|
||||||
|
|
||||||
if (index < 0) index = model.count - 1
|
if (index < 0) index = model.count - 1
|
||||||
if (index > model.count - 1) index = 0
|
if (index > model.count - 1) index = 0
|
||||||
if (index === start) return false
|
|
||||||
|
if (index === start && mentions)
|
||||||
|
return cycleUnreadRooms(forward, false)
|
||||||
|
else if (index === start)
|
||||||
|
return false
|
||||||
|
|
||||||
const item = model.get(index)
|
const item = model.get(index)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user