Skip to content

Commit 1395e4e

Browse files
committed
Fix lint
1 parent 5a95b4c commit 1395e4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/plugin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ func (p *Plugin) MessageWillBePosted(c *plugin.Context, post *model.Post) (*mode
5656

5757
if channel.Type == model.CHANNEL_DIRECT && conf.RejectDMs {
5858
config.Mattermost.SendEphemeralPost(post.UserId, &model.Post{
59-
Message: conf.RejectionMessage,
59+
Message: conf.RejectionMessage,
6060
ChannelId: post.ChannelId,
6161
})
6262
return nil, conf.RejectionMessage
6363
}
6464

6565
if channel.Type == model.CHANNEL_GROUP && conf.RejectGroupChats {
6666
config.Mattermost.SendEphemeralPost(post.UserId, &model.Post{
67-
Message: conf.RejectionMessage,
67+
Message: conf.RejectionMessage,
6868
ChannelId: post.ChannelId,
6969
})
7070
return nil, conf.RejectionMessage

0 commit comments

Comments
 (0)