feat(matrix): make non-threaded reply quoting optional
Add replyToMessage, enabled by default, so deployments can turn off automatic room-level reply quotes without changing thread relations or streaming replacements. Expose the setting in the channel contract and all locales, document it, and cover both settings in the existing send tests. Co-authored-by: Orrin Witt <orrin.witt@gmail.com>
This commit is contained in:
1 parent
4e77d9c3f2
commit
c5cee9f204
15 files changed
+134
-30
No files matched your search
@@ -118,6 +118,9 @@ def test_channel_setup_spec_separates_writable_and_snapshot_fields() -> None:
|
||||
assert discord is not None
|
||||
assert "allowFrom" in matrix.route_field_types
|
||||
assert "allowFrom" in matrix.snapshot_fields
|
||||
assert matrix.route_field_types["replyToMessage"] == "bool"
|
||||
assert "replyToMessage" in matrix.snapshot_fields
|
||||
assert matrix.fields["replyToMessage"].default is True
|
||||
assert "allowFrom" in discord.route_field_types
|
||||
assert "allowFrom" not in discord.snapshot_fields
|
||||
|
||||
|
||||
Reference in new issue
Block a user