|
|
@ -48,6 +48,7 @@ func populateChat(g *gocui.Gui) { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
var printMe []string |
|
|
|
var printMe []string |
|
|
|
var actuallyPrintMe string |
|
|
|
var actuallyPrintMe string |
|
|
|
|
|
|
|
lastMessage.ID = api.Result.Messages[0].Msg.ID |
|
|
|
for _, message := range api.Result.Messages { |
|
|
|
for _, message := range api.Result.Messages { |
|
|
|
if message.Msg.Content.Type == "text" { |
|
|
|
if message.Msg.Content.Type == "text" { |
|
|
|
if lastMessage.ID < 1 { |
|
|
|
if lastMessage.ID < 1 { |
|
|
|