mod_offline: Fix outdated comments
This commit is contained in:
parent
90fd7f3780
commit
59ba09826b
|
@ -348,7 +348,7 @@ has_no_store_hint(Packet) ->
|
||||||
orelse
|
orelse
|
||||||
xml:get_subtag_with_xmlns(Packet, <<"no-storage">>, ?NS_HINTS) =/= false.
|
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) ->
|
check_event(From, To, Packet) ->
|
||||||
#xmlel{name = Name, attrs = Attrs, children = Els} =
|
#xmlel{name = Name, attrs = Attrs, children = Els} =
|
||||||
Packet,
|
Packet,
|
||||||
|
@ -392,7 +392,7 @@ check_event(From, To, Packet) ->
|
||||||
end
|
end
|
||||||
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([]) -> false;
|
||||||
find_x_event([{xmlcdata, _} | Els]) ->
|
find_x_event([{xmlcdata, _} | Els]) ->
|
||||||
find_x_event(Els);
|
find_x_event(Els);
|
||||||
|
|
Loading…
Reference in New Issue