Fix the outgoingMessages pipe !
Alexandre Bourget authored 8 years ago
Norberto Lopes committed 8 years ago
33 | 33 | // Slack's websocket-based Real-Time Messaging protocol. |
34 | 34 | func newRTM(api *Client) *RTM { |
35 | 35 | return &RTM{ |
36 | Client: *api, | |
37 | pings: make(map[int]time.Time), | |
38 | IncomingEvents: make(chan SlackEvent, 50), | |
36 | Client: *api, | |
37 | pings: make(map[int]time.Time), | |
38 | IncomingEvents: make(chan SlackEvent, 50), | |
39 | outgoingMessages: make(chan OutgoingMessage, 20), | |
39 | 40 | } |
40 | 41 | } |
41 | 42 |