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

Commit 1d471a86 authored by cketti's avatar cketti
Browse files

Rename method for consistency

parent 202595c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4318,7 +4318,7 @@ public class MessagingController implements Runnable {
            return false;
        }

        if (account.isNotifyContactsMailOnly() && !contacts.containsContact(message.getFrom())) {
        if (account.isNotifyContactsMailOnly() && !contacts.isAnyInContacts(message.getFrom())) {
            return false;
        }

+1 −1
Original line number Diff line number Diff line
@@ -148,7 +148,7 @@ public class Contacts {
     * @return <tt>true</tt>, if one address belongs to a contact.
     *         <tt>false</tt>, otherwise.
     */
    public boolean containsContact(final Address[] addresses) {
    public boolean isAnyInContacts(final Address[] addresses) {
        if (addresses == null) {
            return false;
        }