fixed: disable sms in local mode

This commit is contained in:
quenousimporte 2023-06-19 14:18:47 +02:00
parent 35bbaa9195
commit 32859a78f4
1 changed files with 6 additions and 0 deletions

View File

@ -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 =>
{