fix: nip28 chats loading

This commit is contained in:
2023-11-22 15:52:30 +00:00
parent 2884a35b5c
commit 6fd2741cc0
2 changed files with 5 additions and 5 deletions

View File

@ -204,6 +204,6 @@ export function useChatSystem() {
return [...nip4, ...nip28].filter(a => {
const authors = a.participants.filter(a => a.type === "pubkey").map(a => a.id);
return !authors.every(a => isBlocked(a));
return authors.length === 0 || !authors.every(a => isBlocked(a));
});
}