//#region ../didcomm/src/util/thread.ts
function getThreadIdFromPlainTextMessage(message) {
	return message["~thread"]?.thid ?? message["@id"];
}

//#endregion
export { getThreadIdFromPlainTextMessage };
//# sourceMappingURL=thread.mjs.map