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

SMS fallback #59

Open singpolyma opened 7 years ago

singpolyma commented 7 years ago

Allow users to optionally turn on delivering messages to them via SMS when they are offline.

singpolyma commented 7 years ago

This feels less like a feature we should have, and more like a feature we could help implement at their server

ossguy commented 7 years ago

How would we help them implement it at their server? Would it be some sort of extension/plugin for the server that picks a delivery route based on the current presence? Would that extension/plugin talk to Cheogram to then send the SMS?

singpolyma commented 7 years ago

That's kind of my thought, yeah. If you want your messages to come over SMS in some cases, that's probably true for all your messages... or some subset determined by criteria unrelated to "originally came via SMS"

This probably also applies to other possibly transports. Might want messages to go to SMTP in some cases, for example.

singpolyma commented 7 years ago

In fact, if they allow for filtering based on presence, https://modules.prosody.im/mod_firewall.html could be used for this purpose in the future.