mod_message_log: Fix logging of offline message
This commit is contained in:
parent
ef7c92233d
commit
450f2eb5f4
|
@ -166,9 +166,10 @@ log_packet_receive({#message{} = Msg, _C2SState} = Acc) ->
|
||||||
log_packet_receive({_Stanza, _C2SState} = Acc) ->
|
log_packet_receive({_Stanza, _C2SState} = Acc) ->
|
||||||
Acc.
|
Acc.
|
||||||
|
|
||||||
-spec log_packet_offline(message()) -> any().
|
-spec log_packet_offline({any(), message()}) -> {any(), message()}.
|
||||||
log_packet_offline(Msg) ->
|
log_packet_offline({_Action, Msg} = Acc) ->
|
||||||
log_packet(offline, Msg).
|
log_packet(offline, Msg),
|
||||||
|
Acc.
|
||||||
|
|
||||||
-spec reopen_log() -> any().
|
-spec reopen_log() -> any().
|
||||||
reopen_log() ->
|
reopen_log() ->
|
||||||
|
|
Loading…
Reference in New Issue