mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-11 20:49:41 +08:00
fix: update EffectiveUser cannot obtain the accurate user, use GetUserChat instead
This commit is contained in:
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user