From b64e48ef50c7fae7fb90740b17a827fc47fb6cd4 Mon Sep 17 00:00:00 2001 From: Tiama <148740846+2022717137@users.noreply.github.com> Date: Tue, 19 Dec 2023 11:52:23 +0800 Subject: [PATCH] Update send_group_msg.go --- handlers/send_group_msg.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/handlers/send_group_msg.go b/handlers/send_group_msg.go index 6454fbe7..47b16156 100644 --- a/handlers/send_group_msg.go +++ b/handlers/send_group_msg.go @@ -124,11 +124,6 @@ func HandleSendGroupMsg(client callapi.Client, api openapi.OpenAPI, apiv2 openap if err != nil { mylog.Printf("Error retrieving original UserID: %v", err) } - originalUserID, err = idmap.RetrieveRowByIDv2(message.Params.UserID.(string)) - if err != nil { - mylog.Printf("Error retrieving original UserID: %v", err) - return "", nil - } } message.Params.GroupID = originalGroupID message.Params.UserID = originalUserID