mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Cosmetic change: Make variable names consistent
Use the same variable names in both mod_mam:select/8 clauses to avoid confusion.
This commit is contained in:
parent
575ef9c619
commit
6cb60aaff5
@ -812,9 +812,10 @@ select(_LServer, JidRequestor, JidArchive, Start, End, _With, RSM,
|
||||
_ ->
|
||||
{Msgs, true, L}
|
||||
end;
|
||||
select(LServer, From, To, Start, End, With, RSM, MsgType) ->
|
||||
select(LServer, JidRequestor, JidArchive, Start, End, With, RSM, MsgType) ->
|
||||
Mod = gen_mod:db_mod(LServer, ?MODULE),
|
||||
Mod:select(LServer, From, To, Start, End, With, RSM, MsgType).
|
||||
Mod:select(LServer, JidRequestor, JidArchive, 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