Refactor listener out of user profile and fix thread logic
Этот коммит содержится в:
@@ -1417,3 +1417,7 @@ export function languages() {
|
||||
export function isPostEphemeral(post) {
|
||||
return post.type === Constants.POST_TYPE_EPHEMERAL || post.state === Constants.POST_DELETED;
|
||||
}
|
||||
|
||||
export function getRootId(post) {
|
||||
return post.root_id === '' ? post.id : post.root_id;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user