mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01: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:
committed by
nextcloud-command
parent
a1497c742c
commit
3aea0f2c19
14
core/js/dist/profile.js
vendored
14
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() {
|
||||
|
||||
Reference in New Issue
Block a user