diff options
author | reivilibre <reivilibre@users.noreply.github.com> | 2021-08-16 17:12:11 +0000 |
---|---|---|
committer | reivilibre <reivilibre@users.noreply.github.com> | 2021-08-16 17:12:11 +0000 |
commit | 1e4f6a5c57f15e5d5873b0d707fd6638af5416a3 (patch) | |
tree | a047c7f5c04df5559ab8a01729bac485eaaf631a /develop/manhole.html | |
parent | deploy: 0db8cab72c8a39b4e8154295d473fbbc154854b4 (diff) | |
download | synapse-1e4f6a5c57f15e5d5873b0d707fd6638af5416a3.tar.xz |
deploy: 19e51b14d23f756883688fd8238da61c6ff29cc3
Diffstat (limited to 'develop/manhole.html')
-rw-r--r-- | develop/manhole.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/develop/manhole.html b/develop/manhole.html index ec9ce85a91..65214c2bdd 100644 --- a/develop/manhole.html +++ b/develop/manhole.html @@ -227,7 +227,7 @@ the username <code>matrix</code>:</p> <p>This gives a Python REPL in which <code>hs</code> gives access to the <code>synapse.server.HomeServer</code> object - which in turn gives access to many other parts of the process.</p> -<p>Note that any call which returns a coroutine will need to be wrapped in <code>ensureDeferred</code>.</p> +<p>Note that, prior to Synapse 1.41, any call which returns a coroutine will need to be wrapped in <code>ensureDeferred</code>.</p> <p>As a simple example, retrieving an event from the database:</p> <pre><code class="language-pycon">>>> from twisted.internet import defer >>> defer.ensureDeferred(hs.get_datastore().get_event('$1416420717069yeQaw:matrix.org')) |