Add support for the "history" node on MUC join

Supports the "seconds", "maxstanzas", "since" and "maxchars" (but only =0)
attributes.

fix #3270
This commit is contained in:
louiz’
2017-08-27 22:37:46 +02:00
parent 25243f53c2
commit fcaffb9e77
7 changed files with 175 additions and 11 deletions
+8
View File
@@ -0,0 +1,8 @@
#pragma once
// Default values means no limit
struct HistoryLimit
{
int stanzas{-1};
std::string since{};
};