dek jinzhu

This commit is contained in:
wangchuxiao
2022-12-07 21:12:48 +08:00
parent f190611bcc
commit be01c4da0c
15 changed files with 126 additions and 43 deletions
+1 -1
View File
@@ -569,7 +569,7 @@ func DelConversationFromCache(ownerUserID, conversationID string) error {
func GetExtendMsgSetFromCache(ID string, index int32) (*db.ExtendMsgSet, error) {
getExtendMsgSet := func() (string, error) {
extendMsgSet, err := db.DB.GetExtendMsgSet(ID, index, &db.GetExtendMsgSetOpts{IncludeExtendMsgs: false})
extendMsgSet, err := db.DB.GetExtendMsgSet(ID, index, &db.GetExtendMsgSetOpts{ExcludeExtendMsgs: false})
if err != nil {
return "", utils.Wrap(err, "GetExtendMsgSet failed")
}