mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-01 02:12:26 +00:00
Harden profile data loading
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user