Preferences: one Accounts page (voip.ms, Google Voice, Numbers with checking), and jai gets its own page
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user