From 48a47a86816a19dd921fcd008b7fb6ff7326deea Mon Sep 17 00:00:00 2001 From: jjxu <428192774@qq.com> Date: Wed, 18 Jun 2025 20:05:51 +0800 Subject: [PATCH] Update ruler_replyWhenUserJoinSession.go --- pkg/service/asChat/robot/ruler_replyWhenUserJoinSession.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/service/asChat/robot/ruler_replyWhenUserJoinSession.go b/pkg/service/asChat/robot/ruler_replyWhenUserJoinSession.go index 37b8d2c..4175915 100644 --- a/pkg/service/asChat/robot/ruler_replyWhenUserJoinSession.go +++ b/pkg/service/asChat/robot/ruler_replyWhenUserJoinSession.go @@ -25,7 +25,7 @@ type ReplyWhenUserJoinSession struct { atUserId int } -func (r ReplyWhenUserJoinSession) Hit(event ws.ListenEventData, sender *accountFiee.ChatUserData) (hit bool) { +func (r *ReplyWhenUserJoinSession) Hit(event ws.ListenEventData, sender *accountFiee.ChatUserData) (hit bool) { if event.EventType != ws.EventUserJoin { return } @@ -61,7 +61,7 @@ func (r ReplyWhenUserJoinSession) Hit(event ws.ListenEventData, sender *accountF return } -func (r ReplyWhenUserJoinSession) Run(cache *chatCache.ChatCache) (err error) { +func (r *ReplyWhenUserJoinSession) Run(cache *chatCache.ChatCache) (err error) { err = logic.NewMessage(context.Background(), cache, r.Sender, dto.NewMessageRequest{ Waiter: true, Robot: true,