From 32859a78f4738b2267e892cd44a8d2a0ec97b939 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Mon, 19 Jun 2023 14:18:47 +0200 Subject: [PATCH] fixed: disable sms in local mode --- main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.js b/main.js index b5c74ed..5b6d025 100644 --- a/main.js +++ b/main.js @@ -371,6 +371,12 @@ var snippets = [ function sms() { + if (!isremote()) + { + showtemporaryinfo("SMS is not available in local mode."); + return; + } + queryremote({action: "sms", data: currentnote.content.replace(/\n/g, " ")}) .then(data => {