mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-28 17:38:54 +01:00
Get rid of unused variable warning
This commit is contained in:
parent
03e2b0f0bf
commit
4892b01eb4
@ -294,7 +294,7 @@ user_send_packet({Pkt, #{jid := JID} = C2SState}) ->
|
|||||||
{Pkt2, C2SState}.
|
{Pkt2, C2SState}.
|
||||||
|
|
||||||
-spec offline_message({any(), message()}) -> {any(), message()}.
|
-spec offline_message({any(), message()}) -> {any(), message()}.
|
||||||
offline_message({Action, #message{from = Peer, to = To} = Pkt} = Acc) ->
|
offline_message({_Action, #message{from = Peer, to = To} = Pkt} = Acc) ->
|
||||||
LUser = To#jid.luser,
|
LUser = To#jid.luser,
|
||||||
LServer = To#jid.lserver,
|
LServer = To#jid.lserver,
|
||||||
case should_archive(Pkt, LServer) of
|
case should_archive(Pkt, LServer) of
|
||||||
|
Loading…
Reference in New Issue
Block a user