Rename method for consistency
This commit is contained in:
parent
202595c605
commit
1d471a8633
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue