mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #29970 from nextcloud/backport/29870/stable23
[stable23] Prevent your own status from replacing another user's status on profile
This commit is contained in:
commit
17a659e277
3 changed files with 6 additions and 4 deletions
4
core/js/dist/profile.js
vendored
4
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() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue