Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix state reset

Acho Arnold6060735edae5
diff --git a/web/store/index.ts b/web/store/index.ts
index 3720b6e7..e9116d7c 100644
--- a/web/store/index.ts
+++ b/web/store/index.ts
@@ -228,6 +228,8 @@ export const mutations = {
resetState(state: State) {
state.threads = []
+ state.phones = []
+ state.threadId = null
state.threadMessages = []
state.archivedThreads = false
state.owner = null