Commit graph

27 commits

Author SHA1 Message Date
David Baker
495b6dcd97
Merge pull request #6705 from SimonBrandner/fix/call-tile-dispatch/18825
Use disptacher to answer/reject calls in call tiles
2021-09-07 15:45:40 +01:00
Šimon Brandner
367049bd08
Improve typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-02 17:52:00 +02:00
Šimon Brandner
072fdf1cb8
Use disptacher so that https://github.com/matrix-org/matrix-react-sdk/pull/6691 has effect
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-28 15:06:48 +02:00
Šimon Brandner
c6400c8db3
Show call length during a call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:34:44 +02:00
Germain
da79581744
Merge pull request #6567 from SimonBrandner/fix/connecting-states/18404
Don't flash "Missed call" when accepting a call
2021-08-06 14:42:31 +01:00
Šimon Brandner
8368aa13ca
length -> duration
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 14:38:53 +02:00
Šimon Brandner
c1449ff01a
Show call length
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 13:59:26 +02:00
Šimon Brandner
6d6fa46541
Add connecting states
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 12:42:38 +02:00
Šimon Brandner
f63b6fc0a9
Support for getting reject info
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 10:28:27 +02:00
Šimon Brandner
9383ecc46f
Delint
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-02 13:20:02 +02:00
Šimon Brandner
401fe1d05b
Add call silencing to CallEvent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-19 20:03:09 +02:00
Šimon Brandner
b202f997e3
Refactor setState()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-02 10:30:17 +02:00
Šimon Brandner
521b2445a8
Refactoring and fixes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-02 10:18:32 +02:00
Šimon Brandner
3bf28e3a6b
Remove Ended from SUPPORTED_STATES
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 16:29:52 +02:00
Šimon Brandner
6b9e2042c3
Use a Set instead of an Array
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 16:28:57 +02:00
Šimon Brandner
9db280bbe6
Listen for CallsChanged
This should avoid delays and such

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 15:31:46 +02:00
Šimon Brandner
70a5715b3d
Support hangup reasons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 14:46:41 +02:00
Šimon Brandner
f1e780e642
Improved missed calls
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 13:40:25 +02:00
Šimon Brandner
0785997983
Handle missed calls
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 11:28:45 +02:00
Šimon Brandner
5b3967a486
Add handling for invite
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 11:01:10 +02:00
Šimon Brandner
67a052e46a
Reorganize things and do some fixes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 10:55:03 +02:00
Šimon Brandner
8c67b96a0f
Save all events
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 10:42:21 +02:00
Šimon Brandner
c1fcadba3b
Manage some more call states
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 10:33:44 +02:00
Šimon Brandner
f96e25d833
Simply use call states
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 10:11:48 +02:00
Šimon Brandner
6b72c13e34
Add some call states
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 10:06:03 +02:00
Šimon Brandner
30365ca1ad
Allow picking up calls from the timeline
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 10:03:17 +02:00
Šimon Brandner
dac741d8b9
Another rewrite
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 09:30:37 +02:00