Contact presence is not updated after the first "add contact" (both contact subscribed)
Hello,
There is some trouble on the contact presence during the first add contact, on one side the status is good (and rarely wrong) and on the other side the contact status is always wrong (in contact list view and chat view).
How to reproduce :
- Bob adds Alice in his contact
- Alice accepts
- Bob accepts
-- Bob sees Alice available (sometime offline) -- Alice never sees Bob available -- They can speak and make an encrypted session
The content provider does not seem to be updated, when I query the content provider to see if the Presence is updated, on Alice's side the presence status is always 'NULL' or '0' (Offline) : adb shell content query --uri content://info.guardianproject.otr.app.im.provider.Imps/contacts/ | grep 'mode|type'
PS : see on the last ChatSecure Github version (commit log : 334cc5b09350a458d7f7f26b95430a8f2fe8b209 )
I forgot to mention that when Alice restarts the application, the good presence status appears in the db and is correctly load for UI purpose (Avatar color in contact list, message view and chat view are correct !).