From fb9e750fe29897367a420683f05bc26ec30eeb60 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 19 Mar 2023 16:51:06 +0900 Subject: [PATCH] =?UTF-8?q?game:=20=EC=99=B8=EA=B5=90=EA=B6=8C=EC=9E=90?= =?UTF-8?q?=EA=B0=80=20=EC=95=84=EB=8B=88=EB=A9=B4=20=EC=99=B8=EA=B5=90=20?= =?UTF-8?q?=EB=A9=94=EC=8B=9C=EC=A7=80=20=EC=95=8C=EB=A6=BC=20=EC=97=86?= =?UTF-8?q?=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/ts/components/MessagePanel.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwe/ts/components/MessagePanel.vue b/hwe/ts/components/MessagePanel.vue index c147708c..97ebc7b7 100644 --- a/hwe/ts/components/MessagePanel.vue +++ b/hwe/ts/components/MessagePanel.vue @@ -296,7 +296,11 @@ function _updateLatestMsg(msg: MsgItem) { } if (msgType == "diplomacy") { + if (permissionLevel.value < 4){ + return; + } const [toastID, latestMsgID] = latestDiplomacyMsgToastInfo.value; + if (msg.id <= latestMsgID) { return; }