TryQuiet / quiet

A private, p2p alternative to Slack and Discord built on Tor & IPFS
https://www.tryquiet.org
GNU General Public License v3.0
1.94k stars 85 forks source link

Backend starting before the frontend is ready, resulting in missed events #2471

Closed leblowl closed 4 months ago

leblowl commented 5 months ago

Backend was starting before the frontend was ready on Android. This resulted in missing a CHANNEL_SUBSCRIBED event and thus not being able to send a message (having it greyed out indefinitely). It looks like Android connects with native code to the backend in order to get push notifications which causes the backend to start, then the actual frontend code connects and by then it's missed the CHANNEL_SUBSCRIBED event.

kingalg commented 4 months ago

mobile@2.2.0-alpha.6

Fixed. I didn't observe behaviour associated with this issue in recent alphas.