mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +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}.
|
||||
|
||||
-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,
|
||||
LServer = To#jid.lserver,
|
||||
case should_archive(Pkt, LServer) of
|
||||
|
Loading…
Reference in New Issue
Block a user