Skip to content
Snippets Groups Projects
Select Git revision
  • 55e892f13f44356bce345807197bcc780f4dba02
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/201911
  • release/releaseWindowsTestOne
  • release/windowsReleaseTest
  • release/releaseTest
  • release/releaseWindowsTest
  • 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
  • 4.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.4.1
  • 1.4.0
  • 1.3.0
  • 1.2.0
  • 1.1.0
31 results

src

  • Clone with SSH
  • Clone with HTTPS
  • Simon Désaulniers's avatar
    Simon Désaulniers authored
    This functionality of RingAccount exposes methods to "track" a buddy with it's
    ringid. The RingAccount keeps a map of BuddyInfo for all buddies to track. The
    BuddyInfo struct contains the last time the device has been seen online.
    RingAccount exposes the following methods:
    
    * ::trackBuddyPresence which will look for a buddy's DeviceAnnouncement on the
      DHT to deduce the buddy's presence. This will be done each 10 minutes
      (DeviceAnnouncement expiration time).
    * ::getTrackedBuddyPresence which returns the relevant content from the map of
      BuddyInfo, i.e. if each of the buddy is online or not.
    
    Change-Id: Ib149585c4835da88b0b0248b4a866770d35afe90
    55e892f1
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..