From 1f3765076362ae6fbd49536a3c197b29777fb3a5 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Mon, 13 Feb 2023 11:24:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/matrix-send-message.j?= =?UTF-8?q?s'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/matrix-send-message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix-send-message.js b/src/matrix-send-message.js index 6bb99a6..7e9962d 100644 --- a/src/matrix-send-message.js +++ b/src/matrix-send-message.js @@ -121,7 +121,7 @@ module.exports = function(RED) { content.geo_uri = "geo:28.1974439,113.0054238"; } - if (msgType === 'm.location') { + if (msgType === 'm.live') { content.body = "Live location"; content.timeout= 3600000; content.live = true;