Don't log on missed login ack and don't make standalone contacts for repeater users

This commit is contained in:
Jack Kingsman
2026-03-19 20:26:10 -07:00
parent d05312c157
commit cee7103ec6
4 changed files with 125 additions and 16 deletions
+2 -2
View File
@@ -138,7 +138,7 @@ export function RoomServerPanel({ contact, onAuthenticatedChange }: RoomServerPa
setLoginMessage(null);
try {
const result = await api.roomLogin(contact.public_key, password);
setAuthenticated(result.authenticated);
setAuthenticated(true);
setLoginMessage(
result.message ??
(result.authenticated
@@ -152,7 +152,7 @@ export function RoomServerPanel({ contact, onAuthenticatedChange }: RoomServerPa
}
} catch (err) {
const message = err instanceof Error ? err.message : 'Unknown error';
setAuthenticated(false);
setAuthenticated(true);
setLoginError(message);
toast.error('Room login failed', { description: message });
} finally {