Skip to content

Commit

Permalink
[PR-70]: Removed trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitij-Katiyar committed Apr 15, 2024
1 parent efbc638 commit fe53689
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/welcomebot.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ func (p *Plugin) joinChannel(action *Action, channelName string) {
if err := p.handleDMs(action, channelName); err != nil {
p.API.LogError("failed to handle DM channel, continuing to next channel. " + err.Error())
}

} else { // Otherwise treat it like a normal channel
if channel, err := p.API.GetChannelByName(action.Context.TeamID, channelName, false); err == nil {
if _, err := p.API.AddChannelMember(channel.Id, action.Context.UserID); err != nil {
Expand Down

0 comments on commit fe53689

Please sign in to comment.