1
0
Fork 0
mirror of https://github.com/diamondburned/cchat-gtk.git synced 2024-12-23 04:36:49 +00:00

Removed debug logging

This commit is contained in:
diamondburned (Forefront) 2020-06-27 19:48:02 -07:00
parent 32e6ed8b21
commit 5eac0c0eeb

View file

@ -5,7 +5,6 @@ import (
"github.com/diamondburned/cchat"
"github.com/diamondburned/cchat-gtk/internal/humanize"
"github.com/diamondburned/cchat-gtk/internal/log"
"github.com/diamondburned/cchat-gtk/internal/ui/imgview"
"github.com/diamondburned/cchat-gtk/internal/ui/primitives"
"github.com/diamondburned/cchat-gtk/internal/ui/rich"
@ -165,8 +164,6 @@ func (m *GenericContainer) UpdateAuthorName(name text.Rich) {
}
func (m *GenericContainer) UpdateContent(content text.Rich, edited bool) {
log.Println("Rendering", m.id, content)
var markup = parser.RenderMarkup(content)
if edited {
markup += " " + rich.Small("(edited)")