Skip to content

Commit c286da0

Browse files
committed
Remove fallback for unknown contact in group add
1 parent d1279c2 commit c286da0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/ui/chat/chat_management/add_to_group_screen.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ class _AddToGroupScreenState extends ConsumerState<AddToGroupScreen> {
167167
}
168168

169169
// Ensure we always have a contact (in case getUserProfileData returns null)
170-
contactToAdd ??= ContactModel(
171-
displayName: 'Unknown User',
172-
publicKey: widget.contactNpub,
173-
);
174170

175171
if (!mounted) return;
176172

0 commit comments

Comments
 (0)