mirror of
https://github.com/Luzifer/browserphone.git
synced 2024-11-08 13:50:05 +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'
|
||||
},
|
||||
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue