This was proposed by @Flowdalic.
I'll have to refactor most methods so that every method gets called with the deviceId/the OmemoManager. Should be no big deal.
Edit: The FileBasedOmemoStore isn't that beautiful anyway. There is a lot of IO that should be made safer.
This was proposed by @Flowdalic. I'll have to refactor most methods so that every method gets called with the deviceId/the OmemoManager. Should be no big deal.
Edit: The FileBasedOmemoStore isn't that beautiful anyway. There is a lot of IO that should be made safer.