Skip to content
Snippets Groups Projects
Commit ec6d900d authored by Simon Kirsten's avatar Simon Kirsten
Browse files

Fixed channelsToIDCache not being initialized

parent 5f158dbf
Branches
Tags
No related merge requests found
...@@ -22,7 +22,8 @@ type Client struct { ...@@ -22,7 +22,8 @@ type Client struct {
// NewClient returns a new Client with the provided clientID // NewClient returns a new Client with the provided clientID
func NewClient(clientID string) *Client { func NewClient(clientID string) *Client {
return &Client{ return &Client{
ClientID: clientID, ClientID: clientID,
channelsToIDCache: make(map[string]string),
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment