Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Kyriakos Z
2022-12-08 15:00:39 +02:00
коммит произвёл GitHub
родитель d8e2859b0b
Коммит 8d554a3621

Просмотреть файл

@@ -1845,7 +1845,7 @@ func (a *App) countMentionsFromPost(c request.CTX, user *model.User, post *model
if a.isPostPriorityEnabled() {
priorityList, nErr := a.Srv().Store().PostPriority().GetForPosts(mentionPostIds)
if err != nil {
if nErr != nil {
return 0, 0, 0, model.NewAppError("countMentionsFromPost", "app.channel.get_priority_for_posts.app_error", nil, "", http.StatusInternalServerError).Wrap(nErr)
}
for _, priority := range priorityList {