ToxAndroidRefImpl
ToxAndroidRefImpl copied to clipboard
New contact's Avatar Icon fails to load in list until restart
Describe the bug After adding a new contact, their avatar icon is fetched and displayed properly in the chat history (after they send a message) but never appears in the main list of contacts until the app is closed and restarted.
To Reproduce Steps to reproduce the behavior:
- Add a new contact that has an avatar icon set on whatever client they use. I added via QR code to a qTox desktop user.
- Receive a message from them to confirm their icon is showing.
- Go back to the contacts list.
- No avatar icon displayed next to their name.
Expected behavior Icon is displayed when fetched.
Your system information:
- TRIfA Version: [1.0.62]
- App from F-Droid
- Android OS Version: Android 11
- Device: OnePlus N200
Add screenshots, if possible
Additional context If a contact who's icon was loaded is deleted (on both sides), and then re-added, the icon displays properly in the main list of contacts but fails to display in the chat history. I thought it might have been cached at first.
Also after deleting and re-adding, they appear as offline (Large red dot) but messages can still be exchanged.
Restarting the app after deleting and re-adding makes the icon not show up at all in the main contact list or chat history and subsequent app restarts don't help.
Deleting all avatar icons from the maintenance menu causes all icons in chat history to be cleared, but the icons remain on the main contacts list until app restart.
@zellchristensen can you help fix the bug?
How can I help? I'm not too familiar with coding itself.