Patch folder realtime threads locally

This commit is contained in:
kris
2026-04-10 22:01:21 +08:00
parent 0781a56aad
commit a084688e35
7 changed files with 145 additions and 0 deletions

View File

@@ -23,4 +23,14 @@ test("android folder activity refreshes on matching device-scoped conversation u
/payloadDeviceId\.equals\(folderDeviceId\)/,
"expected folder activity to reload when the event targets its device",
);
assert.match(
source,
/tryApplyFolderRealtimePatch\(event\)/,
"expected folder activity to try a local thread-row patch before falling back to network reload",
);
assert.match(
source,
/threadConversationItem/,
"expected folder activity to read the direct thread item patch from realtime payloads",
);
});