Revert "refactor(ffi): Remove unused Session::homeserver_url value"#5876
Conversation
Hywan
left a comment
There was a problem hiding this comment.
I don't see how this value is used. Where is it used/read?
|
We use it in the clients, to be able to save it locally to our own DB, which we will later read from and use this info to restore the client. I thought we didn't need this anymore, but it seems like I completely misunderstood how this is used. The problem is now we need something that allows us to restore the server name and the HS url and not trigger a HS discovery request if we already had some server info. However, I'm not sure how feasible this is at the moment since we don't have a way to check the Well, that isn't possible because |
CodSpeed Performance ReportMerging #5876 will not alter performanceComparing Summary
|
This reverts commit 4eb3cc9.Reverts #5874
Turns out this didn't make the
ClientBuildersafer but completely broke it when the server is not reachable and we try to restore a session. The complement crypto PR is: matrix-org/complement-crypto#217.