MAM results can be filtered by start and end dates

This commit is contained in:
louiz’
2016-09-04 22:58:38 +02:00
parent 1140db3b88
commit 3047bd41b2
6 changed files with 82 additions and 17 deletions
+1 -1
View File
@@ -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);