Skip to content

Commit 726f484

Browse files
committed
Disable private chat portal meta
1 parent d54e13b commit 726f484

File tree

7 files changed

+44
-6
lines changed

7 files changed

+44
-6
lines changed

bridgeconfig/bridgev2.tpl.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,40 @@ bridge:
66
{{ end -}}
77
# Should the bridge create a space for each login containing the rooms that account is in?
88
personal_filtering_spaces: true
9+
# Whether the bridge should set names and avatars explicitly for DM portals.
10+
# This is only necessary when using clients that don't support MSC4171.
11+
private_chat_portal_meta: false
12+
# Should events be handled asynchronously within portal rooms?
13+
# If true, events may end up being out of order, but slow events won't block other ones.
14+
# This is not yet safe to use.
15+
async_events: false
16+
# Should every user have their own portals rather than sharing them?
17+
# By default, users who are in the same group on the remote network will be
18+
# in the same Matrix room bridged to that group. If this is set to true,
19+
# every user will get their own Matrix room instead.
20+
split_portals: true
21+
# Should the bridge resend `m.bridge` events to all portals on startup?
22+
resend_bridge_info: false
23+
# Should `m.bridge` events be sent without a state key?
24+
# By default, the bridge uses a unique key that won't conflict with other bridges.
25+
no_bridge_info_state_key: false
26+
# Should bridge connection status be sent to the management room as `m.notice` events?
27+
# These contain the same data that can be posted to an external HTTP server using homeserver -> status_endpoint.
28+
# Allowed values: none, errors, all
29+
bridge_status_notices: none
30+
31+
# Should leaving Matrix rooms be bridged as leaving groups on the remote network?
32+
bridge_matrix_leave: false
33+
# Should `m.notice` messages be bridged?
34+
bridge_notices: false
35+
# Should room tags only be synced when creating the portal? Tags mean things like favorite/pin and archive/low priority.
36+
# Tags currently can't be synced back to the remote network, so a continuous sync means tagging from Matrix will be undone.
37+
tag_only_on_create: true
38+
# List of tags to allow bridging. If empty, no tags will be bridged.
39+
only_bridge_tags: [m.favourite, m.lowpriority]
40+
# Should room mute status only be synced when creating the portal?
41+
# Like tags, mutes can't currently be synced back to the remote network.
42+
mute_only_on_create: true
943

1044
# What should be done to portal rooms when a user logs out or is logged out?
1145
# Permitted values:
@@ -158,10 +192,14 @@ matrix:
158192
delivery_receipts: false
159193
# Whether the bridge should send error notices via m.notice events when a message fails to bridge.
160194
message_error_notices: false
195+
# Whether the bridge should update the m.direct account data event when double puppeting is enabled.
161196
sync_direct_chat_list: false
162197
# Whether created rooms should have federation enabled. If false, created portal rooms
163198
# will never be federated. Changing this option requires recreating rooms.
164199
federate_rooms: false
200+
# The threshold as bytes after which the bridge should roundtrip uploads via the disk
201+
# rather than keeping the whole file in memory.
202+
upload_file_threshold: 5242880
165203

166204
# Settings for provisioning API
167205
provisioning:

bridgeconfig/discord.tpl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ bridge:
111111
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
112112
# If set to `always`, all DM rooms will have explicit names and avatars set.
113113
# If set to `never`, DM rooms will never have names and avatars set.
114-
private_chat_portal_meta: default
114+
private_chat_portal_meta: never
115115

116116
portal_message_buffer: 128
117117

bridgeconfig/googlechat.tpl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ bridge:
242242
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
243243
# If set to `always`, all DM rooms will have explicit names and avatars set.
244244
# If set to `never`, DM rooms will never have names and avatars set.
245-
private_chat_portal_meta: default
245+
private_chat_portal_meta: never
246246

247247
provisioning:
248248
# Internal prefix in the appservice web server for the login endpoints.

bridgeconfig/imessage.tpl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ bridge:
218218
caption_in_message: true
219219
# Should the bridge explicitly set the avatar and room name for private chat portal rooms?
220220
# This is implicitly enabled in encrypted rooms.
221-
private_chat_portal_meta: default
221+
private_chat_portal_meta: never
222222

223223
# End-to-bridge encryption support options.
224224
# See https://docs.mau.fi/bridges/general/end-to-bridge-encryption.html

bridgeconfig/imessagego.tpl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ bridge:
139139
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
140140
# If set to `always`, all DM rooms will have explicit names and avatars set.
141141
# If set to `never`, DM rooms will never have names and avatars set.
142-
private_chat_portal_meta: default
142+
private_chat_portal_meta: never
143143
# Should iMessage reply threads be mapped to Matrix threads? If false, iMessage reply threads will be bridged
144144
# as replies to the previous message in the thread.
145145
matrix_threads: false

bridgeconfig/linkedin.tpl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ bridge:
174174
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
175175
# If set to `always`, all DM rooms will have explicit names and avatars set.
176176
# If set to `never`, DM rooms will never have names and avatars set.
177-
private_chat_portal_meta: default
177+
private_chat_portal_meta: never
178178

179179
# End-to-bridge encryption support options.
180180
#

bridgeconfig/telegram.tpl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ bridge:
338338
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
339339
# If set to `always`, all DM rooms will have explicit names and avatars set.
340340
# If set to `never`, DM rooms will never have names and avatars set.
341-
private_chat_portal_meta: default
341+
private_chat_portal_meta: never
342342
# Disable generating reply fallbacks? Some extremely bad clients still rely on them,
343343
# but they're being phased out and will be completely removed in the future.
344344
disable_reply_fallbacks: true

0 commit comments

Comments
 (0)