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

* src/mod_offline.erl: Bugfix

SVN Revision: 371
This commit is contained in:
Alexey Shchepin 2005-06-30 11:29:04 +00:00
parent 4098c3ecba
commit d6d51b0fb7
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2005-06-30 Alexey Shchepin <alexey@sevcom.net>
* src/mod_offline.erl: Bugfix
2005-06-20 Alexey Shchepin <alexey@sevcom.net>
* (all): Enhanced virtual hosting support

View File

@ -103,12 +103,13 @@ store_packet(From, To, Packet) ->
TimeStamp = now(),
{xmlelement, _Name, _Attrs, Els} = Packet,
Expire = find_x_expire(TimeStamp, Els),
?PROCNAME ! #offline_msg{us = {LUser, LServer},
timestamp = TimeStamp,
expire = Expire,
from = From,
to = To,
packet = Packet},
gen_mod:get_module_proc(To#jid.lserver, ?PROCNAME) !
#offline_msg{us = {LUser, LServer},
timestamp = TimeStamp,
expire = Expire,
from = From,
to = To,
packet = Packet},
stop;
_ ->
ok