mirror of
https://github.com/Luzifer/browserphone.git
synced 2024-11-09 14:20:04 +00:00
Fix: Broken function call
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a6edf63c49
commit
aea4a28afc
1 changed files with 2 additions and 2 deletions
|
@ -106,12 +106,12 @@ export default {
|
|||
this.phone.conn = conn
|
||||
this.ongoingCall = true
|
||||
this.ringing = false
|
||||
this.announeState('Call connected')
|
||||
this.announceStatus('Call connected')
|
||||
})
|
||||
this.phone.device.on('disconnect', () => {
|
||||
this.phone.conn = null
|
||||
this.ongoingCall = false
|
||||
this.announeState('Call disconnected')
|
||||
this.announceStatus('Call disconnected')
|
||||
})
|
||||
this.phone.device.on('incoming', conn => {
|
||||
this.announceStatus(`Incoming call from ${conn.parameters.From}`)
|
||||
|
|
Loading…
Reference in a new issue