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:
parent
4098c3ecba
commit
d6d51b0fb7
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user