diff --git a/src/mod_ping.erl b/src/mod_ping.erl index 1164bf44a..2e39e8834 100644 --- a/src/mod_ping.erl +++ b/src/mod_ping.erl @@ -152,6 +152,8 @@ handle_cast({iq_pong, JID, timeout}, State) -> _ -> ok end, {noreply, State#state{timers = Timers}}; +handle_cast({iq_pong, _JID, _}, State) -> + {noreply, State}; handle_cast(Msg, State) -> ?WARNING_MSG("unexpected cast: ~p", [Msg]), {noreply, State}.