@lexwdex-org/opencode-dcp 3.4.6 → 3.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/message-ids.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1993,6 +1993,9 @@ function assignMessageRefs(state, messages) {
|
|
|
1993
1993
|
if (typeof rawMessageId !== "string" || rawMessageId.length === 0) {
|
|
1994
1994
|
continue;
|
|
1995
1995
|
}
|
|
1996
|
+
if (state.lastCompaction > 0 && message.info.time.created < state.lastCompaction && !state.messageIds.byRawId.has(rawMessageId)) {
|
|
1997
|
+
continue;
|
|
1998
|
+
}
|
|
1996
1999
|
const existingRef = state.messageIds.byRawId.get(rawMessageId);
|
|
1997
2000
|
if (existingRef) {
|
|
1998
2001
|
if (state.messageIds.byRef.get(existingRef) !== rawMessageId) {
|