fix: update EffectiveUser cannot obtain the accurate user, use GetUserChat instead

This commit is contained in:
krau
2025-02-20 22:52:16 +08:00
parent 09a7c5597d
commit cbc2dc82d8
3 changed files with 9 additions and 5 deletions

View File

@@ -415,7 +415,7 @@ func AddToQueue(ctx *ext.Context, update *ext.Update) error {
ReplyMessageID: record.ReplyMessageID,
FileMessageID: record.MessageID,
ReplyChatID: record.ReplyChatID,
UserID: update.EffectiveUser().GetID(),
UserID: update.GetUserChat().GetID(),
})
entityBuilder := entity.Builder{}