mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-03 01:52:17 +08:00
update logic.
This commit is contained in:
parent
a33588990c
commit
1f3752df83
@ -247,7 +247,7 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbconver
|
|||||||
if len(conversationList) != 0 {
|
if len(conversationList) != 0 {
|
||||||
conversationMap[userID] = conversationList[0]
|
conversationMap[userID] = conversationList[0]
|
||||||
} else {
|
} else {
|
||||||
conversationMap[userID] = &dbModel.Conversation{}
|
needUpdateUsersList = append(needUpdateUsersList, userID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user