diff --git a/ChangeLog b/ChangeLog index 9e1c5c57b..b9bcbc526 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,8 @@ * src/web/ejabberd_web.erl, src/web/ejabberd_http.erl: Add documentation stub for some types. This will be filled later. + * src/jlib.erl: Document the short JID type. + 2009-02-05 Jean-Sébastien Pédron * src/ejabberd_auth.erl, src/ejabberd_auth_anonymous.erl, diff --git a/src/jlib.erl b/src/jlib.erl index aba42c935..f19dd052e 100644 --- a/src/jlib.erl +++ b/src/jlib.erl @@ -49,6 +49,10 @@ -include("jlib.hrl"). +%% @type shortjid() = {U, S, R} +%% U = binary() +%% S = binary() +%% R = binary(). parse_xdata_submit(#xmlel{attrs = Attrs, children = Els}) -> case exmpp_xml:get_attribute_from_list_as_list(Attrs, 'type', "") of