Skip to content

Commit acd3998

Browse files
committed
Document reply quoting
re: matterbridge-org#124
1 parent 6e1f16e commit acd3998

2 files changed

Lines changed: 38 additions & 2 deletions

File tree

docs/protocols/discord/settings.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,39 @@ Example:
132132
```toml
133133
AutoWebhooks=true
134134
```
135+
136+
## QuoteDisable
137+
138+
Disable quotes in reply messages. Disable if your destination bridges understand native replies.
139+
140+
- Setting: **OPTIONAL**, **RELOADABLE**
141+
- Format: *boolean*
142+
- Example:
143+
```toml
144+
QuoteDisable=true
145+
```
146+
147+
## QuoteFormat
148+
149+
Format quoted/reply messages
150+
151+
- Setting: **OPTIONAL**, **RELOADABLE**
152+
- Format: *string*
153+
- Default: `"{MESSAGE} (re @{QUOTENICK}: {QUOTEMESSAGE})"`
154+
- Example:
155+
```toml
156+
QuoteFormat="{@{QUOTENICK}, {MESSAGE}}"
157+
```
158+
159+
## QuoteLengthLimit
160+
161+
Limits {QUOTEMESSAGE} into integer characters specified in this.
162+
163+
TODO: does this cut graphemes or bytes?
164+
165+
- Setting: **OPTIONAL**
166+
- Format: *int*
167+
- Example:
168+
```toml
169+
QuoteLengthLimit=46
170+
```

docs/protocols/telegram/settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ TODO: is this only for outgoing messages?
4747

4848
## QuoteDisable
4949

50-
Disable quoted/reply messages
50+
Disable quotes in reply messages. Disable if your destination bridges understand native replies.
5151

5252
- Setting: **OPTIONAL**, **RELOADABLE**
5353
- Format: *boolean*
@@ -63,7 +63,7 @@ Format quoted/reply messages
6363
- Setting: **OPTIONAL**, **RELOADABLE**
6464
- Format: *string*
6565
- Default: `"{MESSAGE} (re @{QUOTENICK}: {QUOTEMESSAGE})"`
66-
- Example:
66+
- Example:
6767
```toml
6868
QuoteFormat="{@{QUOTENICK}, {MESSAGE}}"
6969
```

0 commit comments

Comments
 (0)