diff options
author | louiz’ <louiz@louiz.org> | 2018-04-24 19:13:10 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2018-04-24 20:25:39 +0200 |
commit | a90f196a1ce779d502baf0aadff6e6917fec8a02 (patch) | |
tree | ecd826fcb245083ce75d6cd5d6c0bc5836d4b2a7 /src/bridge | |
parent | b70136b96e579e8d38a30a298f885899cb80514c (diff) | |
download | biboumi-a90f196a1ce779d502baf0aadff6e6917fec8a02.tar.gz biboumi-a90f196a1ce779d502baf0aadff6e6917fec8a02.tar.bz2 biboumi-a90f196a1ce779d502baf0aadff6e6917fec8a02.tar.xz biboumi-a90f196a1ce779d502baf0aadff6e6917fec8a02.zip |
Revert "Use the Date to find a next page in RSM, not the id"
This reverts commit 5ef7ba08028065b03d51d1dc70bb35aeb41ae19d.
Diffstat (limited to 'src/bridge')
-rw-r--r-- | src/bridge/bridge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp index 7f21254..defb9a5 100644 --- a/src/bridge/bridge.cpp +++ b/src/bridge/bridge.cpp @@ -1005,7 +1005,7 @@ void Bridge::send_room_history(const std::string& hostname, std::string chan_nam auto limit = coptions.col<Database::MaxHistoryLength>(); if (history_limit.stanzas >= 0 && history_limit.stanzas < limit) limit = history_limit.stanzas; - const auto lines = Database::get_muc_logs(this->user_jid, chan_name, hostname, limit, history_limit.since, {}, {}, Database::Paging::last); + const auto lines = Database::get_muc_logs(this->user_jid, chan_name, hostname, limit, history_limit.since, {}, Id::unset_value, Database::Paging::last); chan_name.append(utils::empty_if_fixed_server("%" + hostname)); for (const auto& line: lines) { |