Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33cf1bc2 authored by dzan's avatar dzan
Browse files

If messagelist started from Unified localsearch, verify if we are really...

If messagelist started from Unified localsearch, verify if we are really dealing with multiple accounts. If not then set SingleAccountMode anyway.
parent 3d884a8f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -916,6 +916,11 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
                for (int i = 0, len = accounts.length; i < len; i++) {
                    mAccountUuids[i] = accounts[i].getUuid();
                }

                if (mAccountUuids.length == 1) {
                    mSingleAccountMode = true;
                    mAccount = accounts[0];
                }
            } else {
                mAccountUuids = accountUuids;
            }