From 04fb598c49998bb46a58843101822c74f21d970d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Garc=C3=ADa=20Isa=C3=ADa?= Date: Fri, 20 Dec 2024 17:10:41 -0300 Subject: [PATCH] Fix: avoid crashing when Nuntium Token is missing This is a hotfix attempt for #2377 --- lib/ask/runtime/nuntium_channel.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ask/runtime/nuntium_channel.ex b/lib/ask/runtime/nuntium_channel.ex index 25c86bbfd..98e5f6746 100644 --- a/lib/ask/runtime/nuntium_channel.ex +++ b/lib/ask/runtime/nuntium_channel.ex @@ -467,6 +467,8 @@ defmodule Ask.Runtime.NuntiumChannel do end end + def message_inactive?(_, _), do: false + def has_delivery_confirmation?(_), do: true def has_queued_message?(_, _), do: false def message_expired?(_, _), do: false