|
|
@ -244,7 +244,11 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbconver
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if len(conversationList) != 0 {
|
|
|
|
conversationMap[userID] = conversationList[0]
|
|
|
|
conversationMap[userID] = conversationList[0]
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
conversationMap[userID] = &dbModel.Conversation{}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var conversation dbModel.Conversation
|
|
|
|
var conversation dbModel.Conversation
|
|
|
|