mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-08-06 00:33:23 +02:00
Add outbound message opt-in for apprise
This commit is contained in:
@@ -287,6 +287,7 @@ const CREATE_INTEGRATION_DEFINITIONS: readonly CreateIntegrationDefinition[] = [
|
||||
config: {
|
||||
urls: '',
|
||||
preserve_identity: true,
|
||||
include_outgoing: false,
|
||||
markdown_format: true,
|
||||
body_format_dm: '**DM:** {sender_name}: {text} **via:** [{hops_backticked}]',
|
||||
body_format_channel:
|
||||
@@ -2590,6 +2591,23 @@ function AppriseConfigEditor({
|
||||
</div>
|
||||
</label>
|
||||
|
||||
<label className="flex items-center gap-3 cursor-pointer">
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={config.include_outgoing === true}
|
||||
onChange={(e) => onChange({ ...config, include_outgoing: e.target.checked })}
|
||||
className="h-4 w-4 rounded border-border"
|
||||
/>
|
||||
<div>
|
||||
<span className="text-sm">Forward RemoteTerm-sent messages</span>
|
||||
<p className="text-[0.8125rem] text-muted-foreground">
|
||||
Include DMs and channel messages sent by this RemoteTerm instance, including manual
|
||||
sends and bot replies. Outgoing messages carry no routing path or signal data, so
|
||||
path-related format fields render as direct and RSSI/SNR are empty.
|
||||
</p>
|
||||
</div>
|
||||
</label>
|
||||
|
||||
<Separator />
|
||||
|
||||
<h3 className="text-base font-semibold tracking-tight">Message Format</h3>
|
||||
|
||||
Reference in New Issue
Block a user