mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
No need to inform that XEP-0237 is optional; clarified in XEP version 1.2
This commit is contained in:
parent
7fe05e67a7
commit
c611361bbe
@ -258,8 +258,7 @@ roster_version_on_db(Host) ->
|
|||||||
get_versioning_feature(Acc, Host) ->
|
get_versioning_feature(Acc, Host) ->
|
||||||
case roster_versioning_enabled(Host) of
|
case roster_versioning_enabled(Host) of
|
||||||
true ->
|
true ->
|
||||||
Feature = exmpp_xml:element(?NS_ROSTER_VER_s, 'ver', [],
|
Feature = exmpp_xml:element(?NS_ROSTER_VER_s, 'ver'),
|
||||||
[exmpp_xml:element(?NS_ROSTER_VER_s, 'optional')]),
|
|
||||||
[Feature | Acc];
|
[Feature | Acc];
|
||||||
false -> []
|
false -> []
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user