You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a case where a new device does not show on other clients. I found this on Psi+ 1.4.554 with OMEMO Plugin v0.0.1.
When you log in for the first time, with the OMEMO Plugin enabled, Psi+ publishes the new device to the devicelist before publishing the device's bundle.
This starts a race condition with the other client. If the other client queries the bundle for that device ID first, then it gets item-not-found back and the new device doesn't show on the other client.
Do you think it is feasible to publish the bundle before publishing the new device to the devicelist?
I'm happy to work on a PR for this if needed.
cc: @stigger - rion suggested I mention this to you
The proposed solution seems reasonable to me, so if you could also implement a fix, that would be great.
Thanks. My employer makes me get approval for each open source project I contribute to - I'll raise the request and will hopefully be able to raise a PR in a few weeks.
I noticed a case where a new device does not show on other clients. I found this on Psi+ 1.4.554 with OMEMO Plugin v0.0.1.
When you log in for the first time, with the OMEMO Plugin enabled, Psi+ publishes the new device to the devicelist before publishing the device's bundle.
This starts a race condition with the other client. If the other client queries the bundle for that device ID first, then it gets
item-not-found
back and the new device doesn't show on the other client.Do you think it is feasible to publish the bundle before publishing the new device to the devicelist?
I'm happy to work on a PR for this if needed.
cc: @stigger - rion suggested I mention this to you
Scenario
Psi+ publishes the new device ID 63303797
This new device gets forwarded to Monal
Monal requests the bundle for this new device
Prosody returns item-not-found as the bundle hasn't been published yet
Psi+ publishes the bundle
The text was updated successfully, but these errors were encountered: