fix wrapping

pull/3268/head
Richard van der Hoff 2018-05-23 13:58:28 +01:00
parent 052d08a6a5
commit 1cbb8e5a33
1 changed files with 3 additions and 1 deletions

View File

@ -59,7 +59,9 @@ As of the current version of synapse, there is no convenient interface for
sending notices (other than the automated ones sent as part of consent sending notices (other than the automated ones sent as part of consent
tracking). tracking).
In the meantime, it is possible to test this feature using the manhole. Having gone into the manhole as described in [manhole.md](manhole.md), a notice can be sent with something like: In the meantime, it is possible to test this feature using the manhole. Having
gone into the manhole as described in [manhole.md](manhole.md), a notice can be
sent with something like:
``` ```
>>> hs.get_server_notices_manager().send_notice('@user:server.com', {'msgtype':'m.text', 'body':'foo'}) >>> hs.get_server_notices_manager().send_notice('@user:server.com', {'msgtype':'m.text', 'body':'foo'})