File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
matrix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -146,16 +146,15 @@ class E2eeSanityTests : InstrumentedTest {
146146 delay(3_000 )
147147 }
148148
149- // check that messages are encrypted (uisi)
149+ // Due to the new shared keys implementation, invited user should be able to decrypt messages
150150 newAccount.forEach { otherSession ->
151151 testHelper.waitWithLatch { latch ->
152152 testHelper.retryPeriodicallyWithLatch(latch) {
153153 val timelineEvent = otherSession.getRoom(e2eRoomID)?.getTimelineEvent(sentEventId!! ).also {
154154 Log .v(" #E2E TEST" , " Event seen by new user ${it?.root?.getClearType()} |${it?.root?.mCryptoError} " )
155155 }
156156 timelineEvent != null &&
157- timelineEvent.root.getClearType() == EventType .ENCRYPTED &&
158- timelineEvent.root.mCryptoError == MXCryptoError .ErrorType .UNKNOWN_INBOUND_SESSION_ID
157+ timelineEvent.root.getClearType() == EventType .MESSAGE
159158 }
160159 }
161160 }
You can’t perform that action at this time.
0 commit comments