misc: add |local

This commit is contained in:
Xyphyn committed 2023-08-12 10:47:28 -07:00
1 parent 10af840273
commit 1e4e9ae1de
2 files changed
+2 -3

No files matched your search

-1
View File
@@ -4,5 +4,4 @@ export const isMutable = (post: PostView, me: PersonView) =>
(me.person.admin && post.post.local) || me.person.id == post.creator.id
export const isCommentMutable = (comment: CommentView, me: PersonView) =>
(me.person.admin && comment.comment.local) ||
me.person.id == comment.creator.id