diff --git a/src/ActivitiesSDKAdapter.js b/src/ActivitiesSDKAdapter.js index a5640cc5..e6fb2757 100644 --- a/src/ActivitiesSDKAdapter.js +++ b/src/ActivitiesSDKAdapter.js @@ -114,7 +114,9 @@ export default class ActivitiesSDKAdapter extends ActivitiesAdapter { activityID: action.messageId, inputs: action.inputs, roomID: action.roomId, + personID: action.personId, type: action.type, + created: action.created, })), tap((action) => { logger.debug('ATTACHMENT-ACTION', action.actionID, 'postAction()', ['emitting posted attachment action', action]); diff --git a/src/ActivitiesSDKAdapter.test.js b/src/ActivitiesSDKAdapter.test.js index 77323d5e..63271423 100644 --- a/src/ActivitiesSDKAdapter.test.js +++ b/src/ActivitiesSDKAdapter.test.js @@ -200,7 +200,9 @@ describe('Activities SDK Adapter', () => { lastName: 'My last name', }, roomID: 'roomID', + personID: 'personID', type: 'submit', + created: '2022-02-03T14:26:16+00:00', }); done(); }); diff --git a/src/mockSdk.js b/src/mockSdk.js index cb3b0259..66527a26 100644 --- a/src/mockSdk.js +++ b/src/mockSdk.js @@ -201,10 +201,12 @@ export const mockSDKAttachmentAction = { type: 'submit', messageId: 'activityID', roomId: 'roomID', + personId: 'personID', inputs: { firstName: 'My first name', lastName: 'My last name', }, + created: '2022-02-03T14:26:16+00:00', }; /**