Germain
29f8a4cba2
Merge pull request #1853 from matrix-org/gsouquet/ts-components-migration
...
Expose IMyDevice interface
2021-08-18 12:35:57 +01:00
Šimon Brandner
bd8690de57
Fix regressions
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-17 08:09:14 +02:00
Šimon Brandner
0d09f87777
Revert "Revert "Fix glare related regressions""
...
This reverts commit 4c552cc350 .
2021-08-17 07:33:40 +02:00
David Baker
4c552cc350
Revert "Fix glare related regressions"
2021-08-16 23:06:57 +01:00
David Baker
ccf296ea92
Merge pull request #1851 from SimonBrandner/fix/glare/18538
...
Fix glare related regressions
2021-08-16 12:27:51 +01:00
Šimon Brandner
d65b48204b
Await handleCallEvent()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-16 13:14:04 +02:00
Germain Souquet
dd80e744ff
Expose IMyDevice interface
2021-08-16 09:06:52 +01:00
J. Ryan Stinnett
0b12e37459
Clarify usages of event's toJSON
2021-08-16 09:04:14 +01:00
Šimon Brandner
51e815f0cb
Fix glare
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-15 13:03:18 +02:00
Šimon Brandner
f3856d569d
Reformat some code
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-15 13:03:08 +02:00
Šimon Brandner
e6d1909f0b
Remove weird method call
...
If we can get localUsermediaStream gotUserMediaForAnswer() has alredy been called before
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-15 13:02:39 +02:00
Šimon Brandner
408976a199
Simplifie some code
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-15 12:58:38 +02:00
Šimon Brandner
4da49d926b
Remove unnecessary logs
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-15 12:57:27 +02:00
Šimon Brandner
75750ed760
Add a comment
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-15 12:56:48 +02:00
Travis Ralston
2f74779bf1
Merge pull request #1772 from matrix-org/t3chguy/ts/12
...
Convert SearchResult, InteractiveAuth, PushProcessor and Scheduler to TS
2021-08-13 10:08:54 -06:00
Michael Telatynski
7b038393b1
Merge pull request #1792 from matrix-org/t3chguy/kill-groups
...
Deprecate groups APIs
2021-08-13 16:39:47 +01:00
Christian Paul
7c4f7c9dad
SSSSCryptoCallbacks.getSecretStorageKey: Return null, if no key found
2021-08-13 15:23:47 +02:00
Christian Paul
62058e6d48
SSSSCryptoCallbacks.getSecretStorageKey may return Promise<void>
...
If no result is found, the function may reach the last line without `return` ever being called.
2021-08-13 15:15:20 +02:00
Dariusz Niemczyk
a2f514b544
Merge pull request #1834 from matrix-org/palid/fix/signaling-state-errors
...
Fix temporary call messages being handled without call
2021-08-13 14:17:30 +02:00
Travis Ralston
1f9fab9a0c
Fix conditional on returning file tree spaces
...
If a tree space was deleted then it'll still hold a Room object for us, which is not much help if we're effectively trying to get the joined trees.
2021-08-11 15:11:13 -06:00
Michael Telatynski
69ba32683c
Iterate PR based on feedback
2021-08-11 21:45:51 +01:00
Dariusz Niemczyk
4607f0177c
Fix invalid string quotes
2021-08-11 14:39:00 +02:00
Dariusz Niemczyk
d7dbaeba46
Update src/webrtc/callEventHandler.ts
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-11 14:38:20 +02:00
Dariusz Niemczyk
3e94db1837
Update src/webrtc/call.ts
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-11 14:38:13 +02:00
Dariusz Niemczyk
4fd77c2f05
Update src/webrtc/callEventHandler.ts
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-11 14:38:08 +02:00
Dariusz Niemczyk
9fe05e7d40
Fix temporary call messages being handled without call
...
In cases where a rogue client, or just a simple bug, sends a temporary
call message, like CallNegotiate the messages should just be discarded
if there's no actual p2p connection created.
2021-08-11 14:28:10 +02:00
Matthew Hodgson
97d718e850
tab->space
2021-08-11 11:31:40 +01:00
Matthew Hodgson
913b2d148c
clarify blank candidate comment
2021-08-11 11:30:42 +01:00
Matthew Hodgson
916f6a6126
fix TURN by fixing regression preventing multiple candidates from sending
...
In https://github.com/matrix-org/matrix-js-sdk/commit/eafecd36bc860e79d9aa280a7e60455dbd7c6f67#diff-df33fb6c18a9b5896cd500875824d6c10980d42c92b21cedac6d8f570a8d52b7L1639
the candidateSendTries reset was accidentally lost, meaning that we never send more than one m.call.candidates, breaking trickle ICE.
Also, we leak blank candidates out in m.call.candidates on Safari and FF, so fix that too.
2021-08-11 04:42:32 +01:00
David Baker
2375b00b52
more null checking
2021-08-10 22:09:01 +01:00
David Baker
13cdca028f
Fix blank profile in join events
...
This definitely needs explanation, but hopefully the comment is sufficient.
Type: defect
Fixes https://github.com/vector-im/element-web/issues/18321
Regressed in https://github.com/matrix-org/matrix-js-sdk/pull/1765
2021-08-10 21:59:40 +01:00
Michael Telatynski
9b50455049
Iterate PR, merge types with @types/PushRules
2021-08-10 11:03:05 +01:00
Michael Telatynski
a531446396
tidy a bit more
2021-08-10 10:46:13 +01:00
Michael Telatynski
f876c35283
Fix some bad conversion artifacts
2021-08-10 10:34:05 +01:00
Michael Telatynski
1bcec53c6b
delint
2021-08-10 10:22:40 +01:00
Michael Telatynski
0ad5ef4e9b
Merge branch 'develop' of github.com:matrix-org/matrix-js-sdk into t3chguy/ts/12
2021-08-10 10:21:13 +01:00
Travis Ralston
8da2f91e22
Add support for reading permissions from tree spaces
...
This was originally thought to be able to be performed in another way, but unfortunately isn't as easy as originally predicted.
2021-08-09 08:43:46 -06:00
Šimon Brandner
b61312feca
Fix screensharing crash
...
We have to first stop the track and only then delete the feed as stopping the tracks depends on the feed being defined
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-08 11:10:08 +02:00
Travis Ralston
5482a19979
Expose a getFileEvent() function off a MSC3089Branch
2021-08-06 09:09:03 -06:00
Michael Telatynski
2bdb570f3c
Fix type documentation on MatrixClient::setRoomMutePushRule
2021-08-06 09:38:50 +01:00
Germain
3723b2da39
Merge pull request #1829 from matrix-org/gsouquet/jest-typescript
2021-08-05 11:00:40 +01:00
David Baker
4ed6fbe5fe
Merge pull request #1820 from SimonBrandner/fix/hangup-reason/18219
...
Send `user_hangup` reason if the opponent supports it
2021-08-05 10:41:28 +01:00
Germain Souquet
026260502b
Fix linting issues in TypeScript test files
2021-08-05 11:37:27 +02:00
David Baker
3ca84cfc49
Update eslint plugin & fix silly indenting
...
As per matrix-org/eslint-plugin-matrix-org#15
this caused a bunch of silly indenting to creep in, so this fixes it
back to the previous style.
2021-08-03 17:15:25 +01:00
Šimon Brandner
775c3465bb
Rename so that VS Code spell checker shutsup
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-03 10:05:05 +02:00
Šimon Brandner
7484e3c032
Improve wording
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-03 09:48:23 +02:00
Šimon Brandner
b93e79274f
Move for better organization
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-03 09:45:27 +02:00
Šimon Brandner
fee6a96350
Rename for consistency
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-03 09:44:44 +02:00
Šimon Brandner
ac2c09108f
Improve styling a bit
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-03 09:42:20 +02:00
Šimon Brandner
5b13785115
Make a few things into one liners
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-08-03 09:40:04 +02:00