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:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user