|
|
@ -376,7 +376,7 @@ func populateChat() { |
|
|
|
chat := k.NewChat(channel) |
|
|
|
chat := k.NewChat(channel) |
|
|
|
maxX, _ := g.Size() |
|
|
|
maxX, _ := g.Size() |
|
|
|
api, err := chat.Read(maxX / 2) |
|
|
|
api, err := chat.Read(maxX / 2) |
|
|
|
if err != nil { |
|
|
|
if err != nil || api.Result == nil { |
|
|
|
for _, testChan := range channels { |
|
|
|
for _, testChan := range channels { |
|
|
|
if channel.Name == testChan.Name { |
|
|
|
if channel.Name == testChan.Name { |
|
|
|
channel = testChan |
|
|
|
channel = testChan |
|
|
|