Parcourir la source

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>
tags/v24.0.0beta1
Christopher Ng il y a 2 ans
Parent
révision
3aea0f2c19
3 fichiers modifiés avec 11 ajouts et 9 suppressions
  1. 7
    7
      core/js/dist/profile.js
  2. 1
    1
      core/js/dist/profile.js.map
  3. 3
    1
      core/src/views/Profile.vue

+ 7
- 7
core/js/dist/profile.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 1
core/js/dist/profile.js.map
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 3
- 1
core/src/views/Profile.vue Voir le fichier

@@ -273,7 +273,9 @@ export default {

methods: {
handleStatusUpdate(status) {
this.status = status
if (this.isCurrentUser && status.userId === this.userId) {
this.status = status
}
},

openStatusModal() {

Chargement…
Annuler
Enregistrer