25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

* src/mod_offline.erl: Don't store headline messages

* src/mod_offline_odbc.erl: Likewise

SVN Revision: 454
This commit is contained in:
Alexey Shchepin 2005-12-07 13:01:33 +00:00
parent 4f48b839c4
commit 56d62e11a8
3 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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,

View File

@ -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,