singpolyma / cheogram

Moved to https://git.singpolyma.net/cheogram
https://cheogram.com
GNU Affero General Public License v3.0
27 stars 5 forks source link

Discover and verify 1:1 phone numbers #46

Closed singpolyma closed 7 years ago

singpolyma commented 7 years ago

We can store them to allow messages to pass between two users without touching the phone network at all.

singpolyma commented 7 years ago
  1. SMS to Cheogram of /addjid <jid> from desired phone number association
  2. Cheogram replies with token, records (tel, jid, token) triplet
  3. Send token to escaped-jid@cheogram.com from the jid or from the DM route for that jid
  4. Cheogram stores (tel, jid) association
singpolyma commented 7 years ago

similar flow for /deljid

singpolyma commented 7 years ago

almost done first part -- need to send automatically, and need to match DM route against host only not whole jid

singpolyma commented 7 years ago

Punt on /deljid -- the number might not even be at that provider anymore. Just remove the current main number from a JID when the DM route changes.