If the maxHistoryLength is negative, make it 0
Instead of doing a broken SQL request that returns weird lines
This commit is contained in:
@@ -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,
|
||||
const int limit);
|
||||
int limit);
|
||||
static void store_muc_message(const std::string& owner, const Iid& iid,
|
||||
time_point date, const std::string& body, const std::string& nick);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user