1
0
Fork 0
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:
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.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}`)