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:
parent
2b76995274
commit
401a1311ba
1 changed files with 3 additions and 3 deletions
|
@ -68,8 +68,8 @@ export default {
|
||||||
return this.phone.conn && this.phone.conn.status() === 'open'
|
return this.phone.conn && this.phone.conn.status() === 'open'
|
||||||
},
|
},
|
||||||
|
|
||||||
ringing() {
|
pendingCall() {
|
||||||
return this.phone.conn && this.phone.conn.status() === 'ringing'
|
return this.phone.conn && this.phone.conn.status() === 'pending'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -175,7 +175,7 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
toggleCall() {
|
toggleCall() {
|
||||||
if (this.ringing) {
|
if (this.pendingCall) {
|
||||||
this.phone.conn.accept()
|
this.phone.conn.accept()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue