From a565b0e4c111f9dd48499658420da37eeee63f45 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 25 Jul 2024 16:19:45 +0200 Subject: [PATCH] ext_mod: Handle info message when contrib module transfers table ownership --- src/ext_mod.erl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ext_mod.erl b/src/ext_mod.erl index 6373644b5..7416848da 100644 --- a/src/ext_mod.erl +++ b/src/ext_mod.erl @@ -79,6 +79,11 @@ handle_cast(Msg, State) -> ?WARNING_MSG("Unexpected cast: ~p", [Msg]), {noreply, State}. +handle_info({'ETS-TRANSFER', Table, Process, Module}, State) -> + ?DEBUG("ejabberd now controls ETS table ~p from process ~p for module ~p", + [Table, Process, Module]), + {noreply, State}; + handle_info(Info, State) -> ?WARNING_MSG("Unexpected info: ~p", [Info]), {noreply, State}.