mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-15 18:15:47 +00:00
fix(agent): propagate SenderID in AgentEvent emitters
Expose the original acting sender ID in agent events so group-chat telemetry and audit logs stay aligned with the real Telegram user instead of only the group-scoped UserID.
This commit is contained in:
1 parent
680521a882
commit
a29938ceed
5 files changed
+10
-1
No files matched your search
@@ -26,6 +26,7 @@ func (l *Loop) Run(ctx context.Context, req RunRequest) (*RunResult, error) {
|
||||
event.TeamID = req.TeamID
|
||||
event.TeamTaskID = req.TeamTaskID
|
||||
event.ParentAgentID = req.ParentAgentID
|
||||
event.SenderID = req.SenderID
|
||||
event.UserID = req.UserID
|
||||
event.Channel = req.Channel
|
||||
event.ChatID = req.ChatID
|
||||
|
||||
Reference in new issue
Block a user