mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
feat: Render declined calls in DM timeline (#5512)
* feat: Render declined calls in DM timeline * Record preview snapshots * review: Use CallIntent constant * review: clean-up * Record preview snapshots * review: Move private field to the bottom with MARK: - Private * review: Male CallIntent a string enum to use rawValue --------- Co-authored-by: Element CI <ci@element.io>
This commit is contained in:
@@ -148,6 +148,13 @@ final class ElementCallServiceTests {
|
||||
await testClock.advance(by: .seconds(100))
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
func callIntentRawValues() {
|
||||
// Test to ensure that the implicit rawValue of the string enum matches the MSC values
|
||||
#expect(CallIntent.audio.rawValue == "audio")
|
||||
#expect(CallIntent.video.rawValue == "video")
|
||||
}
|
||||
}
|
||||
|
||||
private class PKPushPayloadMock: PKPushPayload {
|
||||
|
||||
Reference in New Issue
Block a user