mirror of
https://github.com/block/buzz.git
synced 2026-11-29 20:52:25 +00:00
fix(mobile): guard push profile cache disposal
Signed-off-by: Tom Brow <tomb@block.xyz> Co-authored-by: Codex <noreply@openai.com> Ai-assisted: true
This commit is contained in:
@@ -68,9 +68,9 @@ class UserCacheNotifier extends Notifier<Map<String, UserProfile>> {
|
||||
|
||||
final pubkeys = _pending.toList();
|
||||
_pending.clear();
|
||||
final communityID = ref.read(activeCommunityProvider).value?.id;
|
||||
|
||||
try {
|
||||
final communityID = ref.read(activeCommunityProvider).value?.id;
|
||||
final session = ref.read(relaySessionProvider.notifier);
|
||||
final events = await session.fetchHistory(
|
||||
NostrFilters.profilesBatch(pubkeys),
|
||||
|
||||
Reference in New Issue
Block a user