Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Briar Desktop Briar Desktop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • briarbriar
  • Briar DesktopBriar Desktop
  • Merge requests
  • !54

When adding test data, hack GroupCount timestamp

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sebastian requested to merge 103-hack-group-timestamps into main Nov 25, 2021
  • Overview 11
  • Commits 2
  • Pipelines 9
  • Changes 3

Because the MessageTracker in briar initializes the GroupCount timestamp to the current time when the contact is being added, we cannot have realistic test data in the database where the GroupCount timestamp matches that of the last message in the chat history. This is a dirty workaround to make this possible.

Closes #103 (closed)

Edited Dec 16, 2021 by Sebastian
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 103-hack-group-timestamps