From 5df6ccefe2c784209ba72dd0c3b23d2ea0d123e4 Mon Sep 17 00:00:00 2001 From: coward Date: Thu, 13 Jun 2024 14:57:57 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=E4=BF=AE=E5=A4=8D=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- queues/offline_monitoring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queues/offline_monitoring.go b/queues/offline_monitoring.go index cc81d4f..ebefe16 100644 --- a/queues/offline_monitoring.go +++ b/queues/offline_monitoring.go @@ -30,7 +30,7 @@ func offlineMonitoring() { } // 没有启用离线监听时,即使客户端已经离线则也不执行 - if *clientInfo.OfflineMonitoring != 1 || clientInfo.Email == "" { + if clientInfo.OfflineMonitoring == nil || *clientInfo.OfflineMonitoring != 1 || clientInfo.Email == "" { continue }