diff --git a/channel.go b/channel.go index bb1c5c3..59ac677 100644 --- a/channel.go +++ b/channel.go @@ -198,6 +198,10 @@ func (q QueryResponse) updateChannel(ch *Channel) { // Query makes request to channel api and updates channel internal state. func (ch *Channel) Query(ctx context.Context, q *QueryRequest) (*QueryResponse, error) { + if q != nil { + q.State = true + } + p := path.Join("channels", url.PathEscape(ch.Type), url.PathEscape(ch.ID), "query") var resp QueryResponse