|
|
@ -210,7 +210,7 @@ func modifyMessageByUserMessageReceiveOpt(userID, sourceID string, sessionType i
|
|
|
|
conversationID := utils.GetConversationIDBySessionType(sourceID, sessionType)
|
|
|
|
conversationID := utils.GetConversationIDBySessionType(sourceID, sessionType)
|
|
|
|
opt, err := db.DB.GetSingleConversationMsgOpt(userID, conversationID)
|
|
|
|
opt, err := db.DB.GetSingleConversationMsgOpt(userID, conversationID)
|
|
|
|
if err != nil || err != redis.ErrNil {
|
|
|
|
if err != nil || err != redis.ErrNil {
|
|
|
|
log.NewError(pb.OperationID, "GetSingleConversationMsgOpt from redis err", pb.String())
|
|
|
|
log.NewError(pb.OperationID, "GetSingleConversationMsgOpt from redis err", conversationID, pb.String(), err.Error())
|
|
|
|
return true
|
|
|
|
return true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
switch opt {
|
|
|
|
switch opt {
|
|
|
|