Preferences: one Accounts page (voip.ms, Google Voice, Numbers with checking), and jai gets its own page

This commit is contained in:
2026-11-08 20:42:18 -08:00
parent 4d0c15757d
commit 8927c5c59c
3 changed files with 88 additions and 88 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ function startRelay(): void {
// A text over the Rabbit's SIM: pending here until the Rabbit's next check
// sends it and says how it went (relay.ts).
function relaySend(contact: string, text: string, refs: MediaRef[]): void {
if (!relay) throw new Error('The Rabbit relay is off: connect it in Settings → Rabbit.')
if (!relay) throw new Error('The Rabbit relay is off: connect it in Settings → jai.')
const kind = refs.length || isGroup(contact) ? 'mms' : 'sms'
const tempId = db.insertPending({ did: SIM_DID, contact, direction: 'out', body: text, ts: Date.now(), kind, ...(refs.length ? { media: refs } : {}) })
relay.send(tempId, contact, text, refs)