-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/unwedging #1261
Feature/unwedging #1261
Conversation
// return | ||
// } | ||
// | ||
// val lastForcedDate = lastNewSessionForcedDates.getObject(senderId, deviceKey) ?: 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the date management is not used anymore then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, didn't know it was implemented
@@ -111,6 +111,8 @@ interface CryptoService { | |||
roomId: String, | |||
callback: MatrixCallback<MXEncryptEventContentResult>) | |||
|
|||
fun discardOutbundSession(roomId: String) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo, a o
is missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -58,6 +59,8 @@ class CommonTestHelper(context: Context) { | |||
val matrix: Matrix | |||
|
|||
init { | |||
Timber.plant(Timber.DebugTree()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\o/
Implement MSC1719
I'm a bit stuck now. The test is passing, but
When I implementing it a month ago, the test
testUnwedging()
was:but now (after rebasing the branch), it is passing, even with 5900245
The last commit (a6368c4) contains the implementation, and the test is passing too, but we do not send any
m.dummy
message,markOlmSessionForUnwedging()
is never called.I think a fresh look on the code will be help full.
@BillCarsonFr could you help please?