Avatars are not loading on the Home scene for certain locales #43
-
I'm running lexicon alpha-v2 locally and run app on iOS, with an WARN:
At the same time, the avatars on main page is not available. But they are available after clicked into post page: Others looks good. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Can you provide steps to reproduce the bug? |
Beta Was this translation helpful? Give feedback.
-
I tried running the app and pointing it to your discourse site and noticed that the value for |
Beta Was this translation helpful? Give feedback.
-
@Bardreamaster Just wanted to give you an update. We've fixed this issue in the latest push on the |
Beta Was this translation helpful? Give feedback.
After some digging, it appears that this issue is connected to how we retrieve the value for
authorUserId
. It's not directly returned from Discourse, but from our own endpoint.As you can see from the code snippet above, we determine the author by checking the user's description if it includes the phrase 'original poster'. Because the phrase is in English, it didn't match the user's description on your site which uses Chinese, resulting …