25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Remove unnecessary defaults from the xmpp_codec spec

This commit is contained in:
Evgeniy Khramtsov 2014-07-15 20:42:38 +04:00
parent 4ef0dd6997
commit eb803832b7

View File

@ -3,7 +3,6 @@
xmlns = <<"jabber:iq:last">>,
result = {last, '$seconds', '$text'},
attrs = [#attr{name = <<"seconds">>,
default = undefined,
enc = {enc_int, []},
dec = {dec_int, [0, infinity]}}],
cdata = #cdata{label = '$text'}}).
@ -61,7 +60,6 @@
enc = {enc_enum, []},
dec = {dec_enum, [[none,to,from,both,remove]]}},
#attr{name = <<"ask">>,
default = undefined,
enc = {enc_enum, []},
dec = {dec_enum, [[subscribe]]}}],
refs = [#ref{name = roster_group, label = '$groups'}]}).