Skip to content
Snippets Groups Projects
Commit e4a96e79 authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

manager: fix newOutgoingCall method

Manager::newOutgoingCall() does not handle case where
a valid account is found (no prefered given) but not usable,
and many accounts are possible.
They are not tested.
This patch fixes this situation and also reduce cyclomatic
complexity by factoring the account search loop.

Change-Id: I505d082f4ca5d7756fe1f257e1767696dc41a2bf
parent 5cab4fa7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment