From 5352d5334657342922da5554b1b37f4b9420cda6 Mon Sep 17 00:00:00 2001 From: Jan Kremlacek Date: Mon, 9 Dec 2019 21:52:28 +0100 Subject: [PATCH] nlopes/slack dep update to fix broken unmarshal About a month ago Slack introduced the updated structure of RTM messages which resulted in an inability to unmarshal received msg (original issue: https://github.com/nlopes/slack/issues/630). It's not an issue of micro itself, but of the github.com/nlopes/slack lib. The fix was already merged into master (https://github.com/nlopes/slack/pull/618), but the lib has not been released in any new version. Thus so I propose to update directly to the commit: go get github.com/nlopes/slack@d06c2a2b3249b44a9c5dee8485f5a87497beb9ea The MicroBot does now work now with any Slack client newer than around a month old. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 0812f043..3cbfcc37 100644 --- a/go.mod +++ b/go.mod @@ -34,7 +34,7 @@ require ( github.com/miekg/dns v1.1.22 github.com/mitchellh/hashstructure v1.0.0 github.com/nats-io/nats.go v1.9.1 - github.com/nlopes/slack v0.6.0 + github.com/nlopes/slack@d06c2a2b3249b44a9c5dee8485f5a87497beb9ea github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c github.com/pkg/errors v0.8.1 github.com/stretchr/testify v1.4.0