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

No need to inform that XEP-0237 is optional; clarified in XEP version 1.2

This commit is contained in:
Badlop 2011-04-29 20:12:58 +02:00
parent 7fe05e67a7
commit c611361bbe

View File

@ -258,8 +258,7 @@ roster_version_on_db(Host) ->
get_versioning_feature(Acc, Host) ->
case roster_versioning_enabled(Host) of
true ->
Feature = exmpp_xml:element(?NS_ROSTER_VER_s, 'ver', [],
[exmpp_xml:element(?NS_ROSTER_VER_s, 'optional')]),
Feature = exmpp_xml:element(?NS_ROSTER_VER_s, 'ver'),
[Feature | Acc];
false -> []
end.