GetStream / stream-chat-go

Stream Chat official Golang API Client
https://getstream.io/chat/
BSD 3-Clause "New" or "Revised" License
67 stars 31 forks source link

fix: set the state parameter to true while querying a channel #281

Open devinwang opened 5 months ago

devinwang commented 5 months ago

Submit a pull request

CLA

Description of the pull request

Hey there,

I noticed that this Golang library doesn't assign the true value to the State parameter when the client queries channel information, which causes empty messages to be returned. I added this patch to ensure that Golang behaves the same as the NodeJS and Python libraries.

Thank you!