Skip to content
Snippets Groups Projects
Select Git revision
  • 6697c86b1ce53bfb4502d6f9aa746ba3feceb634
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/releaseTest
  • release/releaseWindowsTest
  • release/windowsReleaseTest
  • release/201910
  • release/qt/201910
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • 1.0.0
  • 0.3.0
  • 0.2.1
  • 0.2.0
  • 0.1.0
26 results

contactrequest.h

  • Nicolas Jager's avatar
    59e3cd18
    add vcard from contact request · 59e3cd18
    Nicolas Jager authored
    
    - 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: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
    Reviewed-by: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
    59e3cd18
    History
    add vcard from contact request
    Nicolas Jager authored
    
    - 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: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
    Reviewed-by: default avatarStepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.