mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
Add prev/next helpers for MessageList.
This commit is contained in:
@@ -91,6 +91,14 @@ exports.MessageList.prototype = {
|
||||
return this.data.last();
|
||||
},
|
||||
|
||||
prev: function () {
|
||||
return this.data.prev();
|
||||
},
|
||||
|
||||
next: function () {
|
||||
return this.data.next();
|
||||
},
|
||||
|
||||
nth_most_recent_id: function (n) {
|
||||
return this.data.nth_most_recent_id(n);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user