Use the Date to find a next page in RSM, not the id

This way, it works, whatever the order of insertion in the database was.

fix #3343
This commit is contained in:
louiz’
2018-04-14 19:48:45 +02:00
parent d375a9edeb
commit 5ef7ba0802
4 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ class Database
*/
static std::vector<MucLogLine> get_muc_logs(const std::string& owner, const std::string& chan_name, const std::string& server,
int limit=-1, const std::string& start="", const std::string& end="",
const Id::real_type reference_record_id=Id::unset_value, Paging=Paging::first);
const std::string& reference_record_id={}, Paging=Paging::first);
/**
* Get just one single record matching the given uuid, between (optional) end and start.