message: support 'personal' flag for messages
Add a new flag 'personal' for a message, which means that at least one of the contact fields is personal.
This commit is contained in:
@ -66,8 +66,15 @@ public:
|
||||
* any of the senders/recipients are considered "personal"
|
||||
*
|
||||
* @param contacts a Contact object sequence
|
||||
* @param is_personal receives true if any of the contacts was personal;
|
||||
* false otherwise
|
||||
*/
|
||||
void add(Contacts&& contacts);
|
||||
void add(Contacts&& contacts, bool& is_personal);
|
||||
void add(Contacts&& contacts) {
|
||||
bool _ignore;
|
||||
add(std::move(contacts), _ignore);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Clear all contacts
|
||||
|
||||
Reference in New Issue
Block a user