Fix empty string comparison issues in the codebase (#16686)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
200a56fa5a
Коммит
94c24eea20
@@ -96,7 +96,7 @@ func (*msgProvider) DoCommand(a *app.App, args *model.CommandArgs, message strin
|
||||
targetChannelId = channel.Id
|
||||
}
|
||||
|
||||
if len(parsedMessage) > 0 {
|
||||
if parsedMessage != "" {
|
||||
post := &model.Post{}
|
||||
post.Message = parsedMessage
|
||||
post.ChannelId = targetChannelId
|
||||
|
||||
Ссылка в новой задаче
Block a user