Skip to content
Snippets Groups Projects
Select Git revision
  • 84c7c9de7557f7424d074833cdaeb066bd755ac7
  • 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

test

  • Open with
  • Download source code
  • Download directory
  • Your workspaces

      A workspace is a virtual sandbox environment for your code in GitLab.

      No agents available to create workspaces. Please consult Workspaces documentation for troubleshooting.

  • Sébastien Blin's avatar
    Sébastien Blin authored
    Because swarm is a synched history compatible with multi-devices,
    if a message from the swarm is read on one device it should be
    synchronized with other devices as much as possible.
    The idea of this patch is to add lastDisplayed sent in synched
    datas to allow clients to update the read status. However, there
    is several scenarios to take into account, because the history
    can be partially synched across devices.
    
    5 scenarios are supported:
    + if the last displayed sent by other devices is the same as the
    current one, there is nothing to do.
    + if there is no last displayed for the current device, the remote
    displayed message is used.
    + if the remote last displayed is not present in the repo, it means
    that the commit will be fetched later, so cache the result
    + if the remote is already fetched, we check that the local last
    displayed is before in the history to replace it
    + Finally if a message is announced from the same author, it means
    that we need to update the last displayed.
    
    If the last displayed message is updated, AccountMessageStatusChanged
    is triggered for the client.
    
    Doc: https://git.jami.net/savoirfairelinux/jami-project/-/wikis/technical/2.3.%20Swarm
    Change-Id: Iedd29129d72cbeb43499471bdfd492dd4d49dcb6
    84c7c9de
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Name Last commit Last update
    ..