memory: add Parameter "Chat history limit"

This commit is contained in:
souliane 2014-09-24 13:49:43 +02:00
commit 4f339272b7

View file

@ -44,6 +44,8 @@ class Const(object):
NO_SECURITY_LIMIT = -1
INDIVIDUAL = "individual"
GENERAL = "general"
# General parameters
HISTORY_LIMIT = "History"
# Parameters related to connection
FORCE_SERVER_PARAM = "Force server"
FORCE_PORT_PARAM = "Force port"
@ -169,6 +171,11 @@ class Const(object):
BOOL_FALSE = "false"
## Special values used in bridge methods calls ##
HISTORY_LIMIT_DEFAULT = -1
HISTORY_LIMIT_NONE = -2
## Misc ##
SAVEFILE_DATABASE = APP_NAME_FILE + ".db"
IQ_SET = '/iq[@type="set"]'