cli: support --ignored-address for init command
Allow for skipping unwanted addresses (such as 'noreply') from the contacts cache.
This commit is contained in:
@ -188,8 +188,6 @@ ContactsCache::Private::serialize() const
|
||||
dirty_ = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
ContactsCache::ContactsCache(Config& config_db)
|
||||
: priv_{std::make_unique<Private>(config_db)}
|
||||
{}
|
||||
@ -381,9 +379,6 @@ ContactsCache::is_ignored(const std::string& addr) const
|
||||
return address_matches(addr, priv_->ignored_plain_, priv_->ignored_rx_);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef BUILD_TESTS
|
||||
/*
|
||||
* Tests.
|
||||
|
||||
Reference in New Issue
Block a user