Wrap register_device coroutine in an ensureDeferred (#7684)
Fixes https://github.com/matrix-org/synapse/issues/7683 Broke in: #7649 We had a `yield` acting on a coroutine. To be fair this one is a bit difficult to notice as there's a function in the middle that just passes the coroutine along.
Showing
- changelog.d/7684.bugfix 1 addition, 0 deletionschangelog.d/7684.bugfix
- synapse/module_api/__init__.py 7 additions, 5 deletionssynapse/module_api/__init__.py
- tests/module_api/__init__.py 0 additions, 0 deletionstests/module_api/__init__.py
- tests/module_api/test_api.py 54 additions, 0 deletionstests/module_api/test_api.py
Loading
Please register or sign in to comment