diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_offline.erl | 3 | ||||
-rw-r--r-- | src/mod_offline_odbc.erl | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/mod_offline.erl b/src/mod_offline.erl index b86c0bc9..a261dbfc 100644 --- a/src/mod_offline.erl +++ b/src/mod_offline.erl @@ -96,7 +96,8 @@ stop(Host) -> store_packet(From, To, Packet) -> Type = xml:get_tag_attr_s("type", Packet), if - (Type /= "error") and (Type /= "groupchat") -> + (Type /= "error") and (Type /= "groupchat") and + (Type /= "headline") -> case check_event(From, To, Packet) of true -> #jid{luser = LUser, lserver = LServer} = To, diff --git a/src/mod_offline_odbc.erl b/src/mod_offline_odbc.erl index d7a77ae4..1a62f08d 100644 --- a/src/mod_offline_odbc.erl +++ b/src/mod_offline_odbc.erl @@ -111,7 +111,8 @@ stop(Host) -> store_packet(From, To, Packet) -> Type = xml:get_tag_attr_s("type", Packet), if - (Type /= "error") and (Type /= "groupchat") -> + (Type /= "error") and (Type /= "groupchat") and + (Type /= "headline") -> case check_event(From, To, Packet) of true -> #jid{luser = LUser} = To, |