# HG changeset patch # User Chaz Kettleson # Date 1754087807 14400 # Node ID c194bec4b56dde4548db7db08edb4d7c4774d9e7 # Parent 093c47ee2041d044df472ab58f2e196311391a73 mod_voipms: Fix bug from not returning in message/bare hook Since SMS/MMS are sent/received on JIDs that are not real accounts, we need to `return true` from the 'message/bare' hook, otherwise routing will occur and result in failed account lookups. diff -r 093c47ee2041 -r c194bec4b56d mod_voipms/mod_voipms.lua --- a/mod_voipms/mod_voipms.lua Thu Jul 31 15:43:41 2025 +0100 +++ b/mod_voipms/mod_voipms.lua Fri Aug 01 18:36:47 2025 -0400 @@ -186,4 +186,6 @@ module:log("error", "HTTP error sending %s: code %s", method, tostring(code)) end end) + + return true end)