Software /
code /
prosody
Comparison
plugins/mod_mam/mamprefsxml.lib.lua @ 7839:f3e1925f29c2
mod_mam: Update to XEP-0313 v0.5.1
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 04 Nov 2016 13:59:49 +0100 |
parent | 7836:30fac9154fd4 |
child | 7851:80ee0d9cd56f |
comparison
equal
deleted
inserted
replaced
7838:e5d5e5946af5 | 7839:f3e1925f29c2 |
---|---|
2 -- Copyright (C) 2011-2013 Kim Alvefur | 2 -- Copyright (C) 2011-2013 Kim Alvefur |
3 -- | 3 -- |
4 -- This file is MIT/X11 licensed. | 4 -- This file is MIT/X11 licensed. |
5 | 5 |
6 local st = require"util.stanza"; | 6 local st = require"util.stanza"; |
7 local xmlns_mam = "urn:xmpp:mam:0"; | 7 local xmlns_mam = "urn:xmpp:mam:1"; |
8 | 8 |
9 local default_attrs = { | 9 local default_attrs = { |
10 always = true, [true] = "always", | 10 always = true, [true] = "always", |
11 never = false, [false] = "never", | 11 never = false, [false] = "never", |
12 roster = "roster", | 12 roster = "roster", |