Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion NextcloudTalk/NCCallController.m
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,15 @@ - (void)joinCall
if (self->_joinCallAttempts < 3) {
NSLog(@"Could not join call, retrying. %ld", (long)self->_joinCallAttempts);
self->_joinCallAttempts += 1;
[self joinCall];

if (statusCode == 404) {
// The conversation was not correctly joined by us / our session expired
// Instead of joining again, try to reconnect to correctly join the conversation again
[self forceReconnect];
} else {
[self joinCall];
}

return;
}

Expand Down