diff --git a/go/ui/messagemodel.go b/go/ui/messagemodel.go index ebdb3e1d..3c0ad573 100644 --- a/go/ui/messagemodel.go +++ b/go/ui/messagemodel.go @@ -4,8 +4,6 @@ import ( "cwtch.im/cwtch/model" "cwtch.im/ui/go/the" "encoding/hex" - - //"encoding/hex" "git.openprivacy.ca/openprivacy/log" "github.com/therecipe/qt/core" "reflect" @@ -222,11 +220,10 @@ func (this *MessageModel) requestEIR() { // notify the gui that the message acknowledgement at index idx has been modified func (this *MessageModel) editMessage(idx int) { if idx < 0 || idx >= this.num() { - log.Errorf("cant edit message %v. probably fine", idx) + log.Debugf("cant edit message %v. probably fine", idx) return } - log.Debugf("editMessage(%v, %v)", idx, this.ackIdx) indexObject := this.Index(idx, 0, core.NewQModelIndex()) // replace third param with []int{} to update all attributes instead this.DataChanged(indexObject, indexObject, []int{this.ackIdx})