|
|
|
@ -225,6 +225,7 @@ protocol Sync 1 {
|
|
|
|
|
|
|
|
|
|
state NewGroupFirst {
|
|
|
|
|
on Init {
|
|
|
|
|
do closeTransaction;
|
|
|
|
|
do prepareOwnKeys;
|
|
|
|
|
send OwnKeysFirst; // we're not grouped yet, this is our own keys
|
|
|
|
|
}
|
|
|
|
@ -243,6 +244,7 @@ protocol Sync 1 {
|
|
|
|
|
|
|
|
|
|
state NewGroupSecond {
|
|
|
|
|
on Init {
|
|
|
|
|
do closeTransaction;
|
|
|
|
|
do prepareOwnKeys;
|
|
|
|
|
send OwnKeysSecond; // we're not grouped yet, this is our own keys
|
|
|
|
|
}
|
|
|
|
@ -360,11 +362,12 @@ protocol Sync 1 {
|
|
|
|
|
|
|
|
|
|
state JoinGroup {
|
|
|
|
|
on Init {
|
|
|
|
|
do closeTransaction;
|
|
|
|
|
do prepareOwnKeys;
|
|
|
|
|
send GroupKeys;
|
|
|
|
|
send OwnKeys;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
on GroupKeys if sameTransaction {
|
|
|
|
|
on GroupKeys {
|
|
|
|
|
do saveGroupKeys;
|
|
|
|
|
do receivedKeysAreGroupKeys;
|
|
|
|
|
do showDeviceAdded;
|
|
|
|
|