fix: version last in buildMatrixPresentationContent so it always wins

This commit is contained in:
OpenClaw Agent
2026-04-28 14:09:55 +08:00
committed by Peter Steinberger
parent c5ff4d40ae
commit d1645c04fd

View File

@@ -31,8 +31,8 @@ function resolveMatrixChannelData(payload: ReplyPayload): MatrixChannelData {
function buildMatrixPresentationContent(presentation: MessagePresentation) {
return {
version: 1,
...presentation,
version: 1,
};
}