Let provider plugin decide whether to automatically hang up secondary calls

Revert "manager: hang up secondary calls"

This reverts commit 94345e0916 and moves that
functionality to the ModemManager plugin.

Fixes #290
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-10-14 16:17:34 +02:00
parent 21eb12e9b1
commit 94d730c3ed
2 changed files with 6 additions and 10 deletions

View File

@@ -465,6 +465,12 @@ add_call (CallsMMOrigin *self,
}
g_debug ("Call `%s' added", path);
/* FIXME: Hang up the call, since accepting a secondary call does not currently work.
* CallsMMCall[28822]: WARNING: Error accepting ModemManager call to `+4916XXXXXXXX': GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Failed: This call was not ringing, cannot accept
*/
if (g_hash_table_size (self->calls) > 1)
calls_call_hang_up (CALLS_CALL (call));
}