Merge pull request #3479 from robintown/fix-reconnect

Fix the reconnect button
This commit is contained in:
Robin
2025-09-12 15:05:47 +02:00
committed by GitHub
4 changed files with 32 additions and 9 deletions

View File

@@ -497,10 +497,11 @@ export const GroupCallView: FC<Props> = ({
return (
<GroupCallErrorBoundary
widget={widget}
recoveryActionHandler={(action) => {
recoveryActionHandler={async (action) => {
setExternalError(null);
if (action == "reconnect") {
setLeft(false);
enterRTCSessionOrError(rtcSession).catch((e) => {
await enterRTCSessionOrError(rtcSession).catch((e) => {
logger.error("Error re-entering RTC session", e);
});
}