24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-14 22:00:16 +02: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> 2005-06-20 Alexey Shchepin <alexey@sevcom.net>
* (all): Enhanced virtual hosting support * (all): Enhanced virtual hosting support

View File

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