1
0
Fork 0
mirror of https://github.com/Luzifer/browserphone.git synced 2024-11-09 14:20:04 +00:00

Call is not ringing but pending

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-07-13 16:04:24 +02:00
parent 2b76995274
commit 401a1311ba
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -68,8 +68,8 @@ export default {
return this.phone.conn && this.phone.conn.status() === 'open'
},
ringing() {
return this.phone.conn && this.phone.conn.status() === 'ringing'
pendingCall() {
return this.phone.conn && this.phone.conn.status() === 'pending'
},
},
@ -175,7 +175,7 @@ export default {
},
toggleCall() {
if (this.ringing) {
if (this.pendingCall) {
this.phone.conn.accept()
return
}