Skip to content

Conversation

@FelipeParreira
Copy link

Proposed changes

This closes issue #18587.

Issue(s)

#18587

How to test or reproduce

Screenshots

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Hotfix (a major bugfix that has to be merged asap)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Changelog

Notify logged users via WebSockets message when a user changes status via REST API

Further comments

@FelipeParreira
Copy link
Author

I am not exactly sure how to (programmatically) test this.

I thought about spying on the Notifications function and maybe sniffing at WS messages being sent over the network, but none of this seems a very correct approach. Suggestions are welcome!

@sampaiodiego sampaiodiego changed the title [FIX] API call users.setStatus does not trigger status update of clients #18587 [FIX] API call users.setStatus does not trigger status update of clients Sep 18, 2020
@sampaiodiego sampaiodiego changed the base branch from master to develop September 18, 2020 20:26
@sampaiodiego sampaiodiego changed the base branch from develop to master September 18, 2020 20:26
@FelipeParreira FelipeParreira changed the base branch from master to develop September 18, 2020 20:31
@FelipeParreira FelipeParreira changed the base branch from develop to master September 18, 2020 20:31
@FelipeParreira FelipeParreira changed the base branch from master to develop September 18, 2020 20:36
@FelipeParreira
Copy link
Author

Moved to #18961

@FelipeParreira FelipeParreira deleted the hotfix-user-status-update branch September 18, 2020 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API call users.setStatus does not trigger status update of clients

8 participants