element-web/test
DeepBlueV7.X d8d4ade1b7
Fix calls on homeservers without the unstable thirdparty endpoints (#8931)
* Fix calls on homeservers without the unstable thirdparty endpoints

Calling that endpoint throws an error and aborts the entire call. We do
check if an empty list or null is returned by that endpoint everywhere,
so returning an empty list simulates the thirdparty stuff just not being
found.

Checking for "this.supportsSipNativeVirtual" doesn't necessarily work,
since that might not be set yet and as such breaks calls that rely on
this functionality working.

fixes https://github.com/vector-im/element-web/issues/21680

Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>

* Address review comments

* Make log message a warning

Signed-off-by: Nicolas Werner <nicolas.werner@hotmail.de>
2022-07-01 12:43:42 +00:00
..
__snapshots__ Location (live) share replies now provide a fallback content (#8949) 2022-07-01 08:01:22 +02:00
accessibility Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
audio Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
autocomplete Resolve emoji autocomplete not being temporally consistent (#8086) 2022-04-14 20:31:50 +00:00
components Test typescriptification - MessagePanel (#8943) 2022-06-30 14:41:53 +02:00
editor Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
end-to-end-tests Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
hooks Improve timing safety of useLatestResult test (#8915) 2022-06-28 15:29:01 +02:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Fall back to untranslated string rather than showing missing translation error (#8609) 2022-05-16 13:28:24 +01:00
images Add support for Animated (A)PNG (#8158) 2022-03-28 09:38:54 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
notifications Typescriptification - notification utils (#8209) 2022-04-01 08:45:50 +02:00
settings Fix crash when drawing blurHash for portrait videos PSB-139 (#8855) 2022-06-17 11:03:29 +00:00
setup Step 8.2: Fix wiring of jest test setup to avoid import cycle issues 2022-03-28 14:02:31 -06:00
stores Live location share - explicitly stop beacons replaced beacons (PSG-544) (#8933) 2022-06-30 07:33:51 +00:00
test-utils Test typescriptification - MessagePanel (#8943) 2022-06-30 14:41:53 +02:00
utils render message deleted tile for beacons (#8905) 2022-06-27 14:21:22 +02:00
.eslintrc.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
CallHandler-test.ts Fix calls on homeservers without the unstable thirdparty endpoints (#8931) 2022-07-01 12:43:42 +00:00
createRoom-test.ts Revert "Make widgets in video rooms mutable again to de-risk future upgrades" (#8803) 2022-06-09 09:56:02 -04:00
DecryptionFailureTracker-test.js Fix all megolm error reported as unknown (#8916) 2022-06-30 08:55:05 +01:00
DeviceListener-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
globalSetup.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
HtmlUtils-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Work towards unifying KeyboardShortcuts and KeyBindingsDefaults #2 (#7674) 2022-01-31 15:55:45 +00:00
languageHandler-test.ts Add support for overriding strings in the app (#7886) 2022-03-01 11:53:09 -07:00
linkify-matrix-test.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
Markdown-test.ts Fix formatting not being applied after links (#7990) 2022-03-08 13:12:36 +00:00
MatrixClientPeg-test.ts use fake timers and restore mocks in MatrixClientPeg test (#8356) 2022-04-19 14:44:15 +02:00
PosthogAnalytics-test.ts Replace deprecated String#substr with String#slice (#8314) 2022-04-14 07:52:42 +00:00
Reply-test.ts Location (live) share replies now provide a fallback content (#8949) 2022-07-01 08:01:22 +02:00
RoomNotifs-test.ts Fix js-sdk types (#8588) 2022-05-13 19:13:21 +00:00
ScalarAuthClient-test.ts Test typescriptification - Terms/ScalarAuthClient (#8480) 2022-05-03 15:09:07 +00:00
setupTests.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
SlashCommands-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
Terms-test.tsx Test typescriptification - Terms/ScalarAuthClient (#8480) 2022-05-03 15:09:07 +00:00
TextForEvent-test.ts Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
UserActivity-test.ts Typescriptification - notification utils (#8209) 2022-04-01 08:45:50 +02:00
useTopic-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00