1
0
mirror of https://github.com/Luzifer/browserphone.git synced 2024-09-19 15:13:00 +00:00

Fix: Broken function call

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-06-10 22:06:28 +02:00
parent a6edf63c49
commit aea4a28afc
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -106,12 +106,12 @@ export default {
this.phone.conn = conn this.phone.conn = conn
this.ongoingCall = true this.ongoingCall = true
this.ringing = false this.ringing = false
this.announeState('Call connected') this.announceStatus('Call connected')
}) })
this.phone.device.on('disconnect', () => { this.phone.device.on('disconnect', () => {
this.phone.conn = null this.phone.conn = null
this.ongoingCall = false this.ongoingCall = false
this.announeState('Call disconnected') this.announceStatus('Call disconnected')
}) })
this.phone.device.on('incoming', conn => { this.phone.device.on('incoming', conn => {
this.announceStatus(`Incoming call from ${conn.parameters.From}`) this.announceStatus(`Incoming call from ${conn.parameters.From}`)