Skip to content

Commit 311edbc

Browse files
FIX Read data agreement response messages to include thread decorator
Thread decorator is required for the response handler to identify the parent message and store the response message to correct transaction record. Signed-off-by: George J Padayatti <[email protected]>
1 parent a81b921 commit 311edbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mydata_did/v1_0/manager.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,6 +1163,10 @@ async def process_read_data_agreement_message(self, *, read_data_agreement_messa
11631163
)
11641164
)
11651165

1166+
read_data_agreement_response_message.assign_thread_id(
1167+
thid=read_data_agreement_message._thread_id
1168+
)
1169+
11661170
# Update data agreement crud diddcomm transaction record with response message
11671171
data_agreement_crud_didcomm_transaction_record.messages_list.append(
11681172
read_data_agreement_response_message.serialize()

0 commit comments

Comments
 (0)