Merge pull request #29970 from nextcloud/backport/29870/stable23

[stable23] Prevent your own status from replacing another user's status on profile
This commit is contained in:
Louis 2021-11-30 10:03:04 +01:00 committed by GitHub
commit 17a659e277
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -273,7 +273,9 @@ export default {
methods: {
handleStatusUpdate(status) {
this.status = status
if (this.isCurrentUser && status.userId === this.userId) {
this.status = status
}
},
openStatusModal() {