Harden profile data loading

This commit is contained in:
thePR0M3TH3AN committed 2026-07-26 17:59:50 -04:00
1 parent 5f439d6863
commit b774de6d76
7 files changed
+237 -59

No files matched your search

@@ -753,7 +753,11 @@ export class ProfileDirectMessageActions {
handleDirectMessagesUpdated(detail = {}) {
if (
this.controller.activeMessagesRequest &&
detail?.reason !== "load-incremental"
detail?.reason !== "load-incremental" &&
// A persisted, locally encrypted snapshot is safe to show while the
// slower relay history/decryption pass is still running. Suppressing it
// made the DM pane appear blank until that full pass completed.
detail?.reason !== "snapshot"
) {
return;
}