From 59ba09826b5c9e74fc4c7279ceba084cb4cd39a7 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 8 Dec 2015 21:58:54 +0100 Subject: [PATCH] mod_offline: Fix outdated comments --- src/mod_offline.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod_offline.erl b/src/mod_offline.erl index 253fe788c..0532f9eb8 100644 --- a/src/mod_offline.erl +++ b/src/mod_offline.erl @@ -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);