Merge pull request #88 from blackbass1988/mod_archive_ns_actualized
ns actualized with XEP-0136
This commit is contained in:
commit
b6a4ba0e6c
|
@ -37,14 +37,10 @@
|
|||
-record(state, {host, storages, save_default, session_duration}).
|
||||
|
||||
-define(PROCNAME, ejabberd_mod_archive).
|
||||
-define(NS_ARCHIVE,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns").
|
||||
-define(NS_ARCHIVE_MANAGE,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-manage").
|
||||
-define(NS_ARCHIVE_PREF,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-pref").
|
||||
-define(NS_ARCHIVE_MANUAL,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-manual").
|
||||
-define(NS_ARCHIVE, "urn:xmpp:archive").
|
||||
-define(NS_ARCHIVE_MANAGE, "urn:xmpp:archive:manage").
|
||||
-define(NS_ARCHIVE_PREF, "urn:xmpp:archive:pref").
|
||||
-define(NS_ARCHIVE_MANUAL, "urn:xmpp:archive:manual").
|
||||
-define(INFINITY, calendar:datetime_to_gregorian_seconds({{2038,1,19},{0,0,0}})).
|
||||
|
||||
-define(MYDEBUG(Format, Args),
|
||||
|
|
|
@ -90,16 +90,11 @@
|
|||
session_duration}).
|
||||
|
||||
-define(PROCNAME, ejabberd_mod_archive_odbc).
|
||||
-define(NS_ARCHIVE,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns").
|
||||
-define(NS_ARCHIVE_AUTO,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-auto").
|
||||
-define(NS_ARCHIVE_MANAGE,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-manage").
|
||||
-define(NS_ARCHIVE_PREF,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-pref").
|
||||
-define(NS_ARCHIVE_MANUAL,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-manual").
|
||||
-define(NS_ARCHIVE, "urn:xmpp:archive").
|
||||
-define(NS_ARCHIVE_AUTO, "urn:xmpp:archive:auto").
|
||||
-define(NS_ARCHIVE_MANAGE, "urn:xmpp:archive:manage").
|
||||
-define(NS_ARCHIVE_PREF, "urn:xmpp:archive:pref").
|
||||
-define(NS_ARCHIVE_MANUAL, "urn:xmpp:archive:manual").
|
||||
-define(INFINITY, calendar:datetime_to_gregorian_seconds({{2038,1,19},{0,0,0}})).
|
||||
|
||||
%% Should be OK for most of modern DBs, I hope ...
|
||||
|
|
|
@ -38,14 +38,10 @@
|
|||
session_duration}).
|
||||
|
||||
-define(PROCNAME, ejabberd_mod_archive_sql).
|
||||
-define(NS_ARCHIVE,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns").
|
||||
-define(NS_ARCHIVE_MANAGE,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-manage").
|
||||
-define(NS_ARCHIVE_PREF,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-pref").
|
||||
-define(NS_ARCHIVE_MANUAL,
|
||||
"http://www.xmpp.org/extensions/xep-0136.html#ns-manual").
|
||||
-define(NS_ARCHIVE, "urn:xmpp:archive").
|
||||
-define(NS_ARCHIVE_MANAGE, "urn:xmpp:archive:manage").
|
||||
-define(NS_ARCHIVE_PREF, "urn:xmpp:archive:pref").
|
||||
-define(NS_ARCHIVE_MANUAL, "urn:xmpp:archive:manual").
|
||||
-define(INFINITY, calendar:datetime_to_gregorian_seconds({{2038,1,19},{0,0,0}})).
|
||||
-define(DICT, dict).
|
||||
|
||||
|
|
Loading…
Reference in New Issue