Fix new linting issues
Этот коммит содержится в:
@@ -1800,7 +1800,7 @@ func (a *App) MarkChannelAsUnreadFromPost(postID string, userID string) (*model.
|
||||
}
|
||||
|
||||
channelUnread, updateErr := a.Srv.Store.Channel().UpdateLastViewedAtPost(post, userID, unreadMentions)
|
||||
if err != nil {
|
||||
if updateErr != nil {
|
||||
return channelUnread, updateErr
|
||||
}
|
||||
|
||||
|
||||
@@ -1276,6 +1276,7 @@ func TestCountMentionsFromPost(t *testing.T) {
|
||||
ChannelId: channel.Id,
|
||||
Message: "test",
|
||||
}, channel, false)
|
||||
require.Nil(t, err)
|
||||
|
||||
count, err := th.App.countMentionsFromPost(user2, post1)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user