use the correct idx to select account on incoming call

- Account::index() gives us the idx in the AccountModel, we then use
mapFromSource to get the corresponding idx in AvailableAccountModel so
that we select the correct account. These 2 idx might not always be the
same since some accounts may be dissabled.

[SS: improve commit msg]
Change-Id: I9c9eb450065f2983088e5e94cf2bc54972ddd5e9
Signed-off-by: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
Reviewed-by: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
1 file changed