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
1 changed files with 1 additions and 2 deletions

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.