aboutsummaryrefslogtreecommitdiff
path: root/include/xmpp_codec.hrl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-10-07 10:31:03 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-10-07 10:31:03 +0300
commit6a3691ef7ce33c17d379ba40fa0c27f21c5ed75d (patch)
tree846810a4086c93f4dd7bd8ef84b15c449697fa2e /include/xmpp_codec.hrl
parentPubSub: creation jid must be bare jid (diff)
Add xdata generator and make some code using it
Diffstat (limited to '')
-rw-r--r--include/xmpp_codec.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xmpp_codec.hrl b/include/xmpp_codec.hrl
index 8ffb37808..443769bb7 100644
--- a/include/xmpp_codec.hrl
+++ b/include/xmpp_codec.hrl
@@ -8,7 +8,7 @@
-record(ps_affiliation, {xmlns = <<>> :: binary(),
node = <<>> :: binary(),
type :: member | none | outcast |
- owner | publisher | 'publish-only',
+ owner | publisher | publish_only,
jid :: jid:jid()}).
-type ps_affiliation() :: #ps_affiliation{}.
@@ -510,7 +510,7 @@
type :: 'boolean' | 'fixed' | 'hidden' | 'jid-multi' | 'jid-single' | 'list-multi' | 'list-single' | 'text-multi' | 'text-private' | 'text-single',
var = <<>> :: binary(),
required = false :: boolean(),
- desc :: binary(),
+ desc = <<>> :: binary(),
values = [] :: [binary()],
options = [] :: [#xdata_option{}],
sub_els = [] :: [xmpp_element() | fxml:xmlel()]}).