Skip to content

Commit

Permalink
chat fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zelenin committed Oct 19, 2018
1 parent 862b94d commit ccea55b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/puller/chats.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ func chats(tdlibClient *client.Client, chatChan chan *client.Chat, errChan chan
}

for _, chatId := range chats.ChatIds {
chat, err := tdlibClient.GetChat(chatId)
chat, err := tdlibClient.GetChat(&client.GetChatRequest{
ChatId: chatId,
})
if err != nil {
errChan <- err

Expand Down

0 comments on commit ccea55b

Please sign in to comment.