fix: add UserID to link message and enforce default storage setting in silent handler

This commit is contained in:
krau
2025-02-19 14:33:03 +08:00
parent f73f18e90d
commit 09a7c5597d
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -102,6 +102,7 @@ func handleLinkMessage(ctx *ext.Context, update *ext.Update) error {
Status: types.Pending,
File: file,
StorageName: user.DefaultStorage,
UserID: user.ChatID,
FileChatID: linkChat.GetID(),
FileMessageID: messageID,
ReplyMessageID: replied.ID,