Fixes #813
This commit is contained in:
parent
40c70f64a8
commit
fb838e5407
|
@ -131,8 +131,7 @@ internal class DefaultEventRelationsAggregationTask @Inject constructor(
|
||||||
EventType.KEY_VERIFICATION_ACCEPT,
|
EventType.KEY_VERIFICATION_ACCEPT,
|
||||||
EventType.KEY_VERIFICATION_START,
|
EventType.KEY_VERIFICATION_START,
|
||||||
EventType.KEY_VERIFICATION_MAC,
|
EventType.KEY_VERIFICATION_MAC,
|
||||||
// TODO Add ?
|
EventType.KEY_VERIFICATION_READY,
|
||||||
// EventType.KEY_VERIFICATION_READY,
|
|
||||||
EventType.KEY_VERIFICATION_KEY -> {
|
EventType.KEY_VERIFICATION_KEY -> {
|
||||||
Timber.v("## SAS REF in room $roomId for event ${event.eventId}")
|
Timber.v("## SAS REF in room $roomId for event ${event.eventId}")
|
||||||
event.content.toModel<MessageRelationContent>()?.relatesTo?.let {
|
event.content.toModel<MessageRelationContent>()?.relatesTo?.let {
|
||||||
|
@ -161,8 +160,7 @@ internal class DefaultEventRelationsAggregationTask @Inject constructor(
|
||||||
EventType.KEY_VERIFICATION_ACCEPT,
|
EventType.KEY_VERIFICATION_ACCEPT,
|
||||||
EventType.KEY_VERIFICATION_START,
|
EventType.KEY_VERIFICATION_START,
|
||||||
EventType.KEY_VERIFICATION_MAC,
|
EventType.KEY_VERIFICATION_MAC,
|
||||||
// TODO Add ?
|
EventType.KEY_VERIFICATION_READY,
|
||||||
// EventType.KEY_VERIFICATION_READY,
|
|
||||||
EventType.KEY_VERIFICATION_KEY -> {
|
EventType.KEY_VERIFICATION_KEY -> {
|
||||||
Timber.v("## SAS REF in room $roomId for event ${event.eventId}")
|
Timber.v("## SAS REF in room $roomId for event ${event.eventId}")
|
||||||
encryptedEventContent.relatesTo.eventId?.let {
|
encryptedEventContent.relatesTo.eventId?.let {
|
||||||
|
@ -461,6 +459,9 @@ internal class DefaultEventRelationsAggregationTask @Inject constructor(
|
||||||
EventType.KEY_VERIFICATION_ACCEPT -> {
|
EventType.KEY_VERIFICATION_ACCEPT -> {
|
||||||
updateVerificationState(currentState, VerificationState.WAITING)
|
updateVerificationState(currentState, VerificationState.WAITING)
|
||||||
}
|
}
|
||||||
|
EventType.KEY_VERIFICATION_READY -> {
|
||||||
|
updateVerificationState(currentState, VerificationState.WAITING)
|
||||||
|
}
|
||||||
EventType.KEY_VERIFICATION_KEY -> {
|
EventType.KEY_VERIFICATION_KEY -> {
|
||||||
updateVerificationState(currentState, VerificationState.WAITING)
|
updateVerificationState(currentState, VerificationState.WAITING)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue