crytpo: Store the SAS object in the machine if we're starting it.

master
Damir Jelić 2020-08-13 16:45:12 +02:00
parent 0245782cf4
commit b4c1b26f96
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ impl VerificationMachine {
AnyToDeviceEventContent::KeyVerificationStart(content),
);
self.verifications
.insert(sas.flow_id().to_owned(), sas.clone());
(sas, request)
}