insomniacslk / irc-slack

IRC-to-Slack gateway
BSD 3-Clause "New" or "Revised" License
195 stars 19 forks source link

Use member_{joined,left}_channel #159

Closed insomniacslk closed 3 years ago

insomniacslk commented 3 years ago

Slack is migrating to use these events for when a user joins or leaves a channel, see https://api.slack.com/changelog/2017-05-rethinking-channel-entrance-and-exit-events-and-messages

Signed-off-by: Andrea Barberio insomniac@slackware.it

codecov[bot] commented 3 years ago

Codecov Report

Merging #159 (b7dd6e5) into master (aceb00c) will decrease coverage by 0.09%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #159      +/-   ##
=========================================
- Coverage   10.06%   9.97%   -0.10%     
=========================================
  Files           9       9              
  Lines         994    1003       +9     
=========================================
  Hits          100     100              
- Misses        890     899       +9     
  Partials        4       4              
Flag Coverage Δ
unittest 9.97% <0.00%> (-0.10%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/ircslack/event_handler.go 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update aceb00c...b7dd6e5. Read the comment docs.