Support for .ready verification event (MSC2366) & other things #1140
support .ready event in VerificationRequest
882d3a76
return request instead of verifier from verification methods
2da72534
waitForVerifier is unused now, make it more broadly useful with callback
10e29478
expose common phases as properties
28e46a82
filter verification methods from argument
4c6dd564
set verification request on event
cd7cc1b7
WIP
b34a2c7e
store in-room verification requests by roomId, txnId
c4142d93
more ready and remote echo support
5f9e8220
make this a public prop
dac4a545
don't block remote echos to VerificationRequests
984b6234
only move to PHASE_DONE when both .done events are received
29c04b6f
get other user id from channel
efe24881
get other party user id by inspecting initial event sender/to fields
48977e6e
move blocking non-participating users back to InRoomChannel
883b83f1
attempt at only creating verifier for live events
e7bcb61a
WIP historical
cf42ad83
fixes and cleanup for historical
0d3d27a5
don't mark events loaded from cache as live events
57135a89
don't cancel or timeout when verify isn't called
8ed51c80
fixes & implement timeout
3ec8233a
use isRemoteEcho to determine if the event is theirs or not
423c8a88
new state machine relies on having remote echos, so fake for to_device
3a9dc37d
allow to move straight from UNSENT to STARTED
213bb9db
check !unsent instead of requested for emitting the crypto.request event
5919874f
fix method names
75fc25fe
commit logging
9338d9c2
parenthesis in wrong place broke logic
f44e0a8e
add note to fix bug later
72fd1e4e
turt2live
approved these changes
on 2020-01-16
Merge branch 'develop' into bwindels/verification-right-panel
1205178e
fix lint
07cc93cc
use setTimeout of setInterval
59bfc458
mention reason in cancellation error
cbe29658
to make this work while using fake timers, don't use setTimeout
e51ba795
adjust test: requestVerification returns the request instead of verifier
c34ccc9d
enable fake timers for consistency
e8952831
fixup: another timeout
77d0a761
more fixup: make sure remote echo doesn't arrive earlier for TestClient
c12a3b66
don't overwrite a request when the remote echo arrives before event_id
121e9d02
set transaction_id for remote echos in TestClient
e5c65d53
implement API change in sas test for requestVerificationDM
bd9a2c13
remove obsolete comment
aac68290
update jsdoc of requestVerificationDM
d526229a
remove obsolete and now broken method
9d6f8730
bwindels
merged
22e6cfae
into develop 6 years ago
t3chguy
deleted the bwindels/verification-right-panel branch 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub