New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fallback to initials when thumbnail image not available #428
Conversation
Does not work entirely, I can see that |
Hah yes it works on the conversation list, I didn't notice that at first. Well done :) |
This latest commit should fix avatar in messages and when adding user to conversation (or seeing details) @sander-adhese I appreciate if you can test this and think of other use cases |
Still some issues, some photo's are overwritten with the initials (I can still see the right picture in the conversation list, not in the message window), some group conversations have multiple times the same initials in it, details of a chat is ok. Will try to think of other uses. |
ahhh.. I have to think of a better solution then. Completely ignored the avatar that were supposed to exist. The problem on implementing the same logic as in contact list is that for some reason when changing conversations initials were inherit from the previous conversation (only latest avatar showed correctly, others took a while to replace) I'll update the first comment with a TODO of fixes. Thanks a lot @sander-adhese |
You're welcome! |
I'm getting OCD over this xD I'm not 100% happy with implementation, think I still need to clean it up, as it uses two approaches depending on messages or "conversation list"/"details". Fixed group chattingby using a Fixed messagesAlthough it seems to be a lag (microseconds) when switching between conversations that had a valid avatar and the ones that have a problematic avatar |
@sander-adhese , can you test this when you have the opportunity? :) Thanks |
Sorry for the delay, yesterday was a holiday ;-) It works like a charm, thank you for your work! Well done 👍 |
Probably unrelated, but I can't cut and paste with my keyboard (apple keyboard, macOS Sierra) in the build of this branch, it still works by rightclicking though. |
It was reported in issue #196 that some user's avatar do not show up with an error on the console log.
These were replaced by a generic image. This fix uses the user's initials instead.
This problem seem to only affect contacts that have a "private" avatar, that requires a login in google's infrastructure to get.
TODO: