Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prevent your own status from replacing another user's status
Signed-off-by: Christopher Ng <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
Pytal authored and nextcloud-command committed Nov 29, 2021
commit 3aea0f2c19ffaf1004de3dbf5c95d38fcf6021e5
14 changes: 7 additions & 7 deletions core/js/dist/profile.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/js/dist/profile.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion core/src/views/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,9 @@ export default {

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

openStatusModal() {
Expand Down