aboutsummaryrefslogtreecommitdiff
path: root/src/mod_offline.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_offline.erl')
-rw-r--r--src/mod_offline.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mod_offline.erl b/src/mod_offline.erl
index 63537600e..fbd8dfbff 100644
--- a/src/mod_offline.erl
+++ b/src/mod_offline.erl
@@ -65,6 +65,8 @@ stop() ->
store_packet(From, To, Packet) ->
true = is_process_alive(whereis(?PROCNAME)),
+ Type = xml:get_tag_attr_s("type", Packet),
+ true = Type /= "error" andalso Type /= "groupchat",
case check_event(From, To, Packet) of
true ->
#jid{luser = LUser} = To,