Skip to content

Commit

Permalink
conversation update
Browse files Browse the repository at this point in the history
  • Loading branch information
FGadvancer committed Mar 18, 2022
1 parent b9aa449 commit 2d04e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/conversation_msg/open_im_sdk_conversation_msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ func (c *Conversation) InsertSingleMessageToLocalStorage(callback open_im_sdk_ca
if sendID != c.loginUserID {
friendInfo, _ := c.db.GetFriendInfoByFriendUserID(sendID)
sourceID = sendID
s.SenderFaceURL = friendInfo.Nickname
s.SenderFaceURL = friendInfo.FaceURL
s.SenderNickname = friendInfo.Nickname
} else {
sourceID = recvID
Expand Down Expand Up @@ -1087,7 +1087,7 @@ func (c *Conversation) InsertGroupMessageToLocalStorage(callback open_im_sdk_cal
common.JsonUnmarshalAndArgsValidate(message, &s, callback, operationID)
if sendID != c.loginUserID {
friendInfo, _ := c.db.GetFriendInfoByFriendUserID(sendID)
s.SenderFaceURL = friendInfo.Nickname
s.SenderFaceURL = friendInfo.FaceURL
s.SenderNickname = friendInfo.Nickname
}
localMessage := db.LocalChatLog{}
Expand Down

0 comments on commit 2d04e2c

Please sign in to comment.