logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: d0e91abe5a9f3e5e776fe29d892aa51a1c7a4773
parent: be5fe03972879add14ce2ca6b37524b32adbf1b8
Author: Roger Braun <roger@rogerbraun.net>
Date:   Mon,  5 Dec 2016 13:14:40 +0100

Remove wrong rights check.

Diffstat:

Msrc/components/status/status.js2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/status/status.js b/src/components/status/status.js @@ -22,7 +22,7 @@ const Status = { return !!this.$store.state.users.currentUser }, deleted () { return this.statusoid.deleted }, - canDelete () { return this.statusoid.user.rights.delete_others_notice || this.statusoid.user.id == this.$store.state.users.currentUser.id } + canDelete () { return this.statusoid.user.id === this.$store.state.users.currentUser.id } }, components: { Attachment,