Fix posts from your own webhook not showing as unread until refresh (#5703)
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
9c13863f48
Коммит
270ac11365
@@ -12,6 +12,10 @@ export function isSystemMessage(post) {
|
||||
return post.type && (post.type.lastIndexOf(Constants.SYSTEM_MESSAGE_PREFIX) === 0);
|
||||
}
|
||||
|
||||
export function isFromWebhook(post) {
|
||||
return post.props && post.props.from_webhook === 'true';
|
||||
}
|
||||
|
||||
export function isPostOwner(post) {
|
||||
return UserStore.getCurrentId() === post.user_id;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user