mirror of
https://github.com/diamondburned/cchat-gtk.git
synced 2024-11-16 11:12:44 +00:00
Removed debug logging
This commit is contained in:
parent
32e6ed8b21
commit
5eac0c0eeb
|
@ -5,7 +5,6 @@ import (
|
||||||
|
|
||||||
"github.com/diamondburned/cchat"
|
"github.com/diamondburned/cchat"
|
||||||
"github.com/diamondburned/cchat-gtk/internal/humanize"
|
"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/imgview"
|
||||||
"github.com/diamondburned/cchat-gtk/internal/ui/primitives"
|
"github.com/diamondburned/cchat-gtk/internal/ui/primitives"
|
||||||
"github.com/diamondburned/cchat-gtk/internal/ui/rich"
|
"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) {
|
func (m *GenericContainer) UpdateContent(content text.Rich, edited bool) {
|
||||||
log.Println("Rendering", m.id, content)
|
|
||||||
|
|
||||||
var markup = parser.RenderMarkup(content)
|
var markup = parser.RenderMarkup(content)
|
||||||
if edited {
|
if edited {
|
||||||
markup += " " + rich.Small("(edited)")
|
markup += " " + rich.Small("(edited)")
|
||||||
|
|
Loading…
Reference in a new issue