pub(crate) async fn room_enabled_reply(
services: &Services,
room_id: &RoomId,
confirmation: &'static str,
prefix: &'static str,
) -> Cow<'static, str>Expand description
Builds the reply for a command that re-enables a room’s inbound federation handling.
A room whose create event sets m.federate to false still cannot
federate afterward, so the reply for such a room extends prefix with
that caveat rather than confirming with confirmation. confirmation
is a complete sentence; prefix is a fragment the caveat continues.