Allow to like private posts
This commit is contained in:
parent
ac4b8e275a
commit
c28e812de9
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ async function toggleRepost() {
|
|||
}
|
||||
|
||||
function canLike(): boolean {
|
||||
return currentUser !== null && props.post.visibility === "public"
|
||||
return currentUser !== null
|
||||
}
|
||||
|
||||
async function toggleLike() {
|
||||
|
|
Loading…
Reference in a new issue