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>
pull/29870/head
Christopher Ng 4 years ago committed by nextcloud-command
parent a1497c742c
commit 3aea0f2c19
  1. 14
      core/js/dist/profile.js
  2. 2
      core/js/dist/profile.js.map
  3. 4
      core/src/views/Profile.vue

File diff suppressed because one or more lines are too long

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…
Cancel
Save