Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
Webhook poll when SMS is received
Acho Arnoldbdc87dfdcf75
diff --git a/web/layouts/default.vue b/web/layouts/default.vueindex 1c2049e5..69d2407e 100644--- a/web/layouts/default.vue+++ b/web/layouts/default.vue@@ -50,6 +50,9 @@ export default class DefaultLayout extends Vue {channel.bind('phone.updated', () => {this.canPoll = true})+ channel.bind('message.phone.received', () => {+ this.canPoll = true+ })this.startPoller()}, 10_000) // delay so that the auth user is present@@ -73,8 +76,9 @@ export default class DefaultLayout extends Vue {if (this.$store.getters.getAuthUser && this.$store.getters.getOwner) {setAuthHeader((await this.$fire.auth.currentUser?.getIdToken()) ?? '')promises.push(- promises.push(this.$store.dispatch('loadPhones', true)),+ this.$store.dispatch('loadPhones', true),this.$store.dispatch('loadThreads'),+ this.$store.dispatch('loadMessages'),this.$store.dispatch('getHeartbeat'),)}