You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to display the profile photo as the avatar for each contact in the conversation list. However, when I set the avatarUrl prop for the conversation list, it doesn’t seem to work, and the value appears as undefined.
Could anyone suggest any alternative solutions or workarounds for this?
getUserInfo(userIds).then(usersInfo => {
//usersInfo: {[userId]: {avatarurl: '', nickname: '', userId: ''}}
rootStore.addressStore.setAppUserInfo(usersInfo);
});
You can set the avatar and nickname using method setAppUserInfo
I am trying to display the profile photo as the avatar for each contact in the conversation list. However, when I set the
avatarUrl
prop for the conversation list, it doesn’t seem to work, and the value appears asundefined
.Could anyone suggest any alternative solutions or workarounds for this?
Below are my code snippets:
The text was updated successfully, but these errors were encountered: