This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Closed
Description
Improve ServerNoticeServlet
We chatted a bit about this in #synapse-dev:matrix.org and realize that this is highlighting a bug in the servlet!
- The
txn_id
should be passed intosend_notice
method and then passed through intocreate_and_send_nonmember_event
(seeRoomSendEventRestServlet
for the proper way to do this).It was also pointed out that some more magic might be needed to avoid creating duplicate server-notice rooms too, but maybe we can leave that to a follow-up and just add a note about it.
Originally posted by @clokep in #9520 (comment)
Also unit tests are missing.