diff --git a/modules/gitter/widget.go b/modules/gitter/widget.go index 66994ff5e..77e7d7c38 100644 --- a/modules/gitter/widget.go +++ b/modules/gitter/widget.go @@ -68,7 +68,7 @@ func (widget *Widget) display() { func (widget *Widget) content() (string, string, bool) { title := fmt.Sprintf("%s - %s", widget.CommonSettings().Title, widget.settings.roomURI) - if widget.messages == nil || len(widget.messages) == 0 { + if len(widget.messages) == 0 { return title, "No Messages To Display", false } var str string