diff options
author | Alexey Shchepin <alexey@process-one.net> | 2005-12-07 16:01:33 +0300 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2005-12-07 16:01:33 +0300 |
commit | 56d62e11a8ad91b8ac858bf1219c792e067bc629 (patch) | |
tree | 65af632e605c281e501e9af5b2bb7cc1fa03d5d6 | |
parent | 4f48b839c40cd4123b801aa08c08d5d7a0ea34c9 (diff) |
* src/mod_offline.erl: Don't store headline messages
* src/mod_offline_odbc.erl: Likewise
SVN Revision: 454
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/mod_offline.erl | 3 | ||||
-rw-r--r-- | src/mod_offline_odbc.erl | 3 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2005-12-07 Alexey Shchepin <alexey@sevcom.net> + + * src/mod_offline.erl: Don't store headline messages + * src/mod_offline_odbc.erl: Likewise + 2005-12-06 Alexey Shchepin <alexey@sevcom.net> * doc/guide.tex: Updated diff --git a/src/mod_offline.erl b/src/mod_offline.erl index b86c0bc91..a261dbfc5 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 d7a77ae4a..1a62f08d8 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, |