- static inline QList<Message> requestAllNewMsgs(UserId user, int first, int limit = -1) {
- return instance()->storage->requestAllNewMsgs(user, first, limit);
+ static inline QList<Message> requestAllMsgs(UserId user, MsgId first = -1, MsgId last = -1, int limit = -1) {
+ return instance()->storage->requestAllMsgs(user, first, last, limit);