diff --git a/packages/user-profile/src/services/UserProfileEvents.ts b/packages/user-profile/src/services/UserProfileEvents.ts index 592beaf..23e6d78 100644 --- a/packages/user-profile/src/services/UserProfileEvents.ts +++ b/packages/user-profile/src/services/UserProfileEvents.ts @@ -32,5 +32,8 @@ export interface ConnectionProfileUpdatedEvent extends BaseEvent { payload: { profile: UserProfileData connection: ConnectionRecord + sendBackYoursRequested?: boolean + threadId?: string + parentThreadId?: string } } diff --git a/packages/user-profile/src/services/UserProfileService.ts b/packages/user-profile/src/services/UserProfileService.ts index 63dec78..81cdb25 100644 --- a/packages/user-profile/src/services/UserProfileService.ts +++ b/packages/user-profile/src/services/UserProfileService.ts @@ -130,6 +130,9 @@ export class UserProfileService { payload: { connection, profile: getConnectionProfile(connection) ?? {}, + sendBackYoursRequested: messageContext.message.sendBackYours, + threadId: messageContext.message.threadId, + parentThreadId: messageContext.message.thread?.parentThreadId, }, }) const config = messageContext.agentContext.dependencyManager.resolve(UserProfileModuleConfig)