feat: add CallParticipantsIndicator component to display active call participants
fix: silently ignore OIDC configuration errors in ServerConfigsLoader fix: handle loadPreview errors in UrlPreviewCard component fix: silently ignore errors in notification tap listener setup in tauri
This commit is contained in:
@@ -34,7 +34,8 @@ export function ServerConfigsLoader({ children }: ServerConfigsLoaderProps) {
|
||||
try {
|
||||
validatedAuthMetadata = validateAuthMetadata(authMetadata);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
// Silently ignore OIDC configuration errors when server doesn't support it
|
||||
// This is expected for most Matrix servers
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -36,7 +36,9 @@ export const UrlPreviewCard = as<'div', { url: string; ts: number }>(
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
loadPreview();
|
||||
loadPreview().catch(() => {
|
||||
// Error is already handled by AsyncStatus.Error state
|
||||
});
|
||||
}, [loadPreview]);
|
||||
|
||||
if (previewStatus.status === AsyncStatus.Error) return null;
|
||||
|
||||
Reference in New Issue
Block a user