mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-18 22:15:20 +02:00
Fix typo in mod_mam:select() (#1098)
This commit is contained in:
parent
6a10916dda
commit
3493a87469
|
@ -812,9 +812,9 @@ select(_LServer, JidRequestor, JidArchive, Start, End, _With, RSM,
|
|||
_ ->
|
||||
{Msgs, true, L}
|
||||
end;
|
||||
select(LServer, From, From, Start, End, With, RSM, MsgType) ->
|
||||
select(LServer, From, To, Start, End, With, RSM, MsgType) ->
|
||||
Mod = gen_mod:db_mod(LServer, ?MODULE),
|
||||
Mod:select(LServer, From, From, Start, End, With, RSM, MsgType).
|
||||
Mod:select(LServer, From, To, Start, End, With, RSM, MsgType).
|
||||
|
||||
msg_to_el(#archive_msg{timestamp = TS, packet = Pkt1, nick = Nick, peer = Peer},
|
||||
MsgType, JidRequestor, #jid{lserver = LServer} = JidArchive) ->
|
||||
|
|
Loading…
Reference in New Issue
Block a user