-
- Downloads
add vcard from contact request
- mapToPersonFromIncomingContactRequest : this function creates a Person from a vCard stored by the daemon; we make sure to ignore any ContactMethods which might be contained in the vCard and only use the CM from which we receive it. - PendingContactRequestModel::data now can return : * PEER_ID : get the username if possible or ring Id if not. * FORMATTED_NAME : get the profile name stored in the vCard. * COUNT__ : used to get the number of elements in the enum. - ContactRequest now store a person. This person matches the vCard. - PeerProfileCollection updates the CM(s) of the vCards it stores with the last modified date of the vCard in to get the date at which the contact request was accepted. [SS: update commit message] [SS: change how we restore the ContactRequest accept date] Change-Id: I3bafda5b38d5e2332e095cd5f1f1d0b101847f86 Signed-off-by:Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com> Reviewed-by:
Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
Showing
- src/account.cpp 10 additions, 4 deletionssrc/account.cpp
- src/accountmodel.cpp 7 additions, 2 deletionssrc/accountmodel.cpp
- src/contactrequest.cpp 23 additions, 1 deletionsrc/contactrequest.cpp
- src/contactrequest.h 6 additions, 1 deletionsrc/contactrequest.h
- src/peerprofilecollection.cpp 14 additions, 1 deletionsrc/peerprofilecollection.cpp
- src/pendingcontactrequestmodel.cpp 18 additions, 9 deletionssrc/pendingcontactrequestmodel.cpp
- src/pendingcontactrequestmodel.h 7 additions, 0 deletionssrc/pendingcontactrequestmodel.h
- src/private/vcardutils.cpp 29 additions, 0 deletionssrc/private/vcardutils.cpp
- src/private/vcardutils.h 1 addition, 0 deletionssrc/private/vcardutils.h
- src/recentmodel.cpp 0 additions, 18 deletionssrc/recentmodel.cpp
Loading
Please register or sign in to comment