Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreben committed Aug 14, 2019
1 parent 42852db commit d11d515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION = 0.3.0
VERSION = 0.3.1

APP := slack-wipe
PACKAGES := $(shell go list -f {{.Dir}} ./...)
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func main() {
state.MemberIDMap = make(map[string]bool, len(state.MemberList))
state.MemberIDMap[state.UserID] = true
for _, m := range state.MemberList {
m = strings.TrimSpace(m)
m = strings.TrimPrefix(m, "@")
state.MemberIDMap[state.Users[m].ID] = true
}
Expand Down

0 comments on commit d11d515

Please sign in to comment.