mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
mod_offline: Fix outdated comments
This commit is contained in:
parent
90fd7f3780
commit
59ba09826b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user