]> git.giacomolli.uk - onechat/blobdiff - memory.go
Reflow comments over the reflow width
[onechat] / memory.go
index 602b86cddf5b813027c554a23f65621298f46fc3..1b734c07acea51268dcbe02de56641399d30039b 100644 (file)
--- a/memory.go
+++ b/memory.go
@@ -485,9 +485,9 @@ func (m *Memory) dispatch() {
 }
 
 // addMessage builds the leaf of message when it needs no model call, or else
-// adds the leaf to the queue. Then it appends the leaf to the views. A crash can
-// stop an append after the leaf build and before the view save, so a leaf that
-// is built already stays as it is, and restoreQueue settles its parent.
+// adds the leaf to the queue. Then it appends the leaf to the views. A crash
+// can stop an append after the leaf build and before the view save, so a leaf
+// that is built already stays as it is, and restoreQueue settles its parent.
 func (m *Memory) addMessage(message Message) error {
        built, err := m.tree.Built(0, message.ID)
        if err != nil {