mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Don't crash in mod_offline:export/1
(Thanks to Christophe Romain.)
This commit is contained in:
parent
2d53f7f83e
commit
0bfde19ebd
@ -1086,8 +1086,7 @@ export(_Server) ->
|
||||
when LServer == Host ->
|
||||
Username = ejabberd_odbc:escape(LUser),
|
||||
Packet1 =
|
||||
jlib:replace_from_to(jlib:jid_to_string(From),
|
||||
jlib:jid_to_string(To), Packet),
|
||||
jlib:replace_from_to(From, To, Packet),
|
||||
Packet2 =
|
||||
jlib:add_delay_info(Packet1, LServer, TimeStamp,
|
||||
<<"Offline Storage">>),
|
||||
|
Loading…
Reference in New Issue
Block a user