lib: fix 'personal' handling in contacts

This commit is contained in:
Dirk-Jan C. Binnema
2020-10-18 11:58:32 +03:00
parent 1957bfa966
commit 2eb8fc82ad
4 changed files with 9 additions and 33 deletions

View File

@ -41,19 +41,6 @@ namespace Mu {
/// Data-structure representing information about some contact.
struct ContactInfo {
/**
* Construct a new ContactInfo
*
* @param _full_address the full email address + name.
* @param _email email address
* @param _name name or empty
* @param _last_seen when was this contact last seen?
*/
ContactInfo (const std::string& _full_address,
const std::string& _email,
const std::string& _name,
time_t _last_seen);
/**
* Construct a new ContactInfo
*
@ -69,7 +56,7 @@ struct ContactInfo {
const std::string& _name,
bool personal,
time_t _last_seen,
size_t freq);
size_t freq=1);
std::string full_address; /**< Full name <email> */
std::string email; /**< email address */