~ci-train-bot/messaging-app/messaging-app-ubuntu-xenial-landing-064

« back to all changes in this revision

Viewing changes to src/qml/messaging-app.qml

  • Committer: CI Train Bot
  • Author(s): Tiago Salem Herrmann
  • Date: 2016-05-06 14:06:03 UTC
  • mfrom: (555.1.6 messaging-app-add-dialog-back)
  • Revision ID: ci-train-bot@canonical.com-20160506140603-241mz8ff12i3frar
Do not pre-select sim 1. Prompt users to select one instead. Fixes: #1571686

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    function defaultPhoneAccount() {
54
54
        // we only use the default account property if we have more
55
55
        // than one account, otherwise we use always the first one
56
 
        if (multiplePhoneAccounts && telepathyHelper.defaultMessagingAccount) {
 
56
        if (multiplePhoneAccounts) {
57
57
            return telepathyHelper.defaultMessagingAccount
58
58
        } else {
59
59
            for (var i in telepathyHelper.activeAccounts) {