mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Prevent your own status from replacing another user's status
Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
This commit is contained in:
parent
7b142f74a9
commit
259dc80fca
3 changed files with 6 additions and 4 deletions
4
core/js/dist/profile.js
vendored
4
core/js/dist/profile.js
vendored
File diff suppressed because one or more lines are too long
2
core/js/dist/profile.js.map
vendored
2
core/js/dist/profile.js.map
vendored
File diff suppressed because one or more lines are too long
|
|
@ -273,7 +273,9 @@ export default {
|
|||
|
||||
methods: {
|
||||
handleStatusUpdate(status) {
|
||||
this.status = status
|
||||
if (this.isCurrentUser && status.userId === this.userId) {
|
||||
this.status = status
|
||||
}
|
||||
},
|
||||
|
||||
openStatusModal() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue