Hi
I noticed that chat doesn't keep profile picture of friends up-to-date. For example a friend I added before he sets his profile picture keeps showing an empty picture after he uploads a picture as well. Actually this was expected as I found you persist pictureId in Friendship table (FriendProfilePictureId) and I didn't find where you update FriendProfilePictureId by updating anyone's profile picture. Same with other denormalized fields in Friendship like FriendTenancyName, FriendUserName if they aren't maintained.
Not sure if this explains the problem or I missed something?
Thanks
2 Answer(s)
-
0
Information should be updated when two friends communicate after the picture changes, see https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Chat/ChatMessageManager.cs#L214
-
0
Excellent! thank you :)