浏览代码

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 2 年前
父节点
当前提交
3aea0f2c19
共有 3 个文件被更改,包括 11 次插入9 次删除
  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
文件差异内容过多而无法显示
查看文件


+ 1
- 1
core/js/dist/profile.js.map
文件差异内容过多而无法显示
查看文件


+ 3
- 1
core/src/views/Profile.vue 查看文件

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

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

openStatusModal() {

正在加载...
取消
保存