25
1
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:
Evgeniy Khramtsov 2017-02-24 17:48:17 +03:00
parent 03e2b0f0bf
commit 4892b01eb4

View File

@ -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