-
Notifications
You must be signed in to change notification settings - Fork 333
Use the new RtcNotification event instead of the now deprecated CallNotify #5357
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
Conversation
2a1a5c5 to
d350a55
Compare
|
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
jmartinesp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes. I have a few comments, and I think you also need to fix the tests (you can run them with ./gradlew testDebugUnitTest).
| mutex.withLock { | ||
| val ringDuration = | ||
| min( | ||
| notificationData.expirationTimestamp - System.currentTimeMillis(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to use SystemClock here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx.
...s/call/impl/src/main/kotlin/io/element/android/features/call/impl/utils/ActiveCallManager.kt
Outdated
Show resolved
Hide resolved
| val senderId: UserId, | ||
| ) : MessageLike | ||
|
|
||
| data class CallNotify( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we rename this too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done in this commit 1a7ce36
...atrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/timeline/RustTimeline.kt
Outdated
Show resolved
Hide resolved
|
Something definitely broke this time 😅 . It seems like it's conflicting imports? |
jmartinesp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, let's hope it passes the CI this time 🤞 .
|
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #5357 +/- ##
========================================
Coverage 79.73% 79.74%
========================================
Files 2274 2274
Lines 62867 62888 +21
Branches 7874 7875 +1
========================================
+ Hits 50130 50149 +19
- Misses 9840 9842 +2
Partials 2897 2897 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|



Implements MSC4075
Based on #5305
Depends on rust sdk matrix-org/matrix-rust-sdk#5668
and ruma ruma/ruma#2199
Content
Motivation and context
Screenshots / GIFs
Tests
Tested devices
Checklist