From 68eeb0aef777af1b0ea4b4f7ef87bf1861cb3fe4 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Mon, 19 Oct 2020 15:39:21 +0200 Subject: [PATCH] TT#15822 mod_sipwise_pushd: fix error introduced back in 2017 at 23e737f82d077c67d8a0ea3b18947c14c5d254b5 we removed invite variable Change-Id: I28122f9c1dc846bc3a8b0c08ef26e69747b48aa5 (cherry picked from commit e7ecca691050ad7d40f30f24ddcbcc14e8567e50) --- plugins/mod_sipwise_pushd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_sipwise_pushd.lua b/plugins/mod_sipwise_pushd.lua index f2f1e43..5654d2a 100644 --- a/plugins/mod_sipwise_pushd.lua +++ b/plugins/mod_sipwise_pushd.lua @@ -357,7 +357,7 @@ local function handle_offline(event) origin.host or caller.host); if is_invite(stanza) then msg.data_type = 'invite'; - caller_jid = jid_bare(invite:get_child('invite').attr.from) or + caller_jid = jid_bare(stanza:get_child('invite').attr.from) or caller_jid; elseif is_attachment(stanza) then msg.data_message = "new attachment";