diff mod_voipms/mod_voipms.lua @ 6307:c194bec4b56d

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.
author Chaz Kettleson <chaz@pyr3x.com>
date Fri, 01 Aug 2025 18:36:47 -0400
parents 8689f49d21ef
children 8f2de6652930
line wrap: on
line diff
--- 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)