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> 2005-06-20 Alexey Shchepin <alexey@sevcom.net>
* (all): Enhanced virtual hosting support * (all): Enhanced virtual hosting support

View File

@ -103,7 +103,8 @@ 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) !
#offline_msg{us = {LUser, LServer},
timestamp = TimeStamp, timestamp = TimeStamp,
expire = Expire, expire = Expire,
from = From, from = From,