mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 03:40:04 -06:00
🎨 Improve rename doc push message
This commit is contained in:
@@ -1228,7 +1228,7 @@ func batchUpdateHPath(tx *sql.Tx, boxID, rootID, newHPath string, context map[st
|
||||
}
|
||||
ClearCache()
|
||||
evtHash := fmt.Sprintf("%x", sha256.Sum256([]byte(rootID)))[:7]
|
||||
eventbus.Publish(eventbus.EvtSQLInsertBlocksFTS, context, 1, evtHash)
|
||||
eventbus.Publish(eventbus.EvtSQLUpdateBlocksHPaths, context, 1, evtHash)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user