Even if app is frozen or killed before going online
If it’s long later it should error instead of sending. And we don’t want to double send…
Even if app is frozen or killed before going online
If it’s long later it should error instead of sending. And we don’t want to double send…
f0a0c43f46285f328a83c4f49405b8d616ae35c0 gets 90% of the way there for at least 1:1 in WWW – we still store entirely null for SM sometimes when anything is mid-sync. And opening an app already offline everything will be mid-sync? But probably we can store just the pending in that case instead of going to full null?
For MUC outbounds to a MUC that isn’t joined at the moment (probably the case when offline? though actually probably only if starting the app already offline, otherwise it acts as if it is joined assuming SM will resume and we will be) they delay in the Outbox per MUC which isn’t persisted anywhere.
related to Send when offline reliability - Issues - Sopranica
if you get re-joined to the channel while the app is still running, it should work. but if there is a reload etc in between then there is no attempt to re-send them
6329d4e5753c531dd759a9fa8c21c742d3a2c583