Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/fga/fix voip issues #4029

Merged
merged 3 commits into from
Sep 24, 2021
Merged

Feature/fga/fix voip issues #4029

merged 3 commits into from
Sep 24, 2021

Conversation

ganfra
Copy link
Member

@ganfra ganfra commented Sep 16, 2021

This PR fixes multiple issues on Voip :
#4028
#4026
#4019

@github-actions
Copy link

github-actions bot commented Sep 16, 2021

Unit Test Results

  34 files  ±0    34 suites  ±0   20s ⏱️ ±0s
  73 tests ±0    73 ✔️ ±0  0 💤 ±0  0 ❌ ±0 
180 runs  ±0  180 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 863ba60. ± Comparison against base commit 863ba60.

♻️ This comment has been updated with latest results.

@ganfra ganfra requested a review from bmarty September 16, 2021 17:16
@@ -468,7 +468,6 @@ class NotificationUtils @Inject constructor(private val context: Context,
setSmallIcon(R.drawable.ic_call_answer)
}
}
// This is a trick to make the previous notification with same id disappear as cancel notification is not working with Foreground Service.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So also remove the trick itself?

Copy link
Member Author

@ganfra ganfra Sep 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, it's not really a trick anymore, cancelNotification work, but only when stopForeground is called. But timeout param is working very strangely...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one question

@DoM1niC
Copy link

DoM1niC commented Sep 20, 2021

I found a strange issue, I use Element develop on Android / Web and use this PR but I dunno where the issue is but If I dismiss a Call so my Element Client still ringing the Caller still rejected but not the React Client (Element Web)

No Issue

Web Client <-> Web Client are ok....

Issue

Android (do a reject) <- Web Client (still ringing) <-> Caller Web Client (dismiss)

@bmarty bmarty merged commit 863ba60 into develop Sep 24, 2021
@bmarty bmarty deleted the feature/fga/fix_voip_issues branch September 24, 2021 07:43
@ganfra
Copy link
Member Author

ganfra commented Sep 24, 2021

Thanks for commenting, I can't reproduce this behavior, not sure where it comes from, but shouldn't be from this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants