diff options
author | louiz’ <louiz@louiz.org> | 2016-09-04 21:04:21 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-09-04 22:58:38 +0200 |
commit | 3047bd41b212390da8e3a4dbcf351e79879042dd (patch) | |
tree | 3efbf79b20133bed649195e43625d3129ae164d0 /src/database/database.hpp | |
parent | 1140db3b88bb70cbcab044efa729707bd5a442f6 (diff) | |
download | biboumi-3047bd41b212390da8e3a4dbcf351e79879042dd.tar.gz biboumi-3047bd41b212390da8e3a4dbcf351e79879042dd.tar.bz2 biboumi-3047bd41b212390da8e3a4dbcf351e79879042dd.tar.xz biboumi-3047bd41b212390da8e3a4dbcf351e79879042dd.zip |
MAM results can be filtered by start and end dates
Diffstat (limited to 'src/database/database.hpp')
-rw-r--r-- | src/database/database.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/database.hpp b/src/database/database.hpp index e7fdd5f..6823574 100644 --- a/src/database/database.hpp +++ b/src/database/database.hpp @@ -49,7 +49,7 @@ public: const std::string& server, const std::string& channel); static std::vector<db::MucLogLine> get_muc_logs(const std::string& owner, const std::string& chan_name, const std::string& server, - int limit); + int limit=-1, const std::string& before="", const std::string& after=""); static void store_muc_message(const std::string& owner, const Iid& iid, time_point date, const std::string& body, const std::string& nick); |