aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/replies.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/replies.lua')
-rw-r--r--src/plugins/lua/replies.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/replies.lua b/src/plugins/lua/replies.lua
index 66a36ff00..30438c13f 100644
--- a/src/plugins/lua/replies.lua
+++ b/src/plugins/lua/replies.lua
@@ -150,7 +150,7 @@ local function replies_set(task)
end
-- If no message-id present return
local msg_id = task:get_header_raw('message-id')
- if msg_id == nil then
+ if msg_id == nil or msg_id:len() <= 2 then
return
end
-- Create hash of message-id and store to redis