25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-31 15:21:38 +01:00

mod_offline: Fix outdated comments

This commit is contained in:
Holger Weiss 2015-12-08 21:58:54 +01:00
parent 90fd7f3780
commit 59ba09826b

View File

@ -348,7 +348,7 @@ has_no_store_hint(Packet) ->
orelse
xml:get_subtag_with_xmlns(Packet, <<"no-storage">>, ?NS_HINTS) =/= false.
%% Check if the packet has any content about XEP-0022 or XEP-0085
%% Check if the packet has any content about XEP-0022
check_event(From, To, Packet) ->
#xmlel{name = Name, attrs = Attrs, children = Els} =
Packet,
@ -392,7 +392,7 @@ check_event(From, To, Packet) ->
end
end.
%% Check if the packet has subelements about XEP-0022, XEP-0085 or other
%% Check if the packet has subelements about XEP-0022
find_x_event([]) -> false;
find_x_event([{xmlcdata, _} | Els]) ->
find_x_event(Els);