Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • chatty chatty
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 317
    • Issues 317
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • Librem5
  • chattychatty
  • Merge requests
  • !514

utils: Fix direction_from_flag()

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mohammed Sadiq requested to merge mohammed.sadiq/chatty:wip/sadiq/fix-message-direction into master Nov 13, 2020
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 2

A system message can also be one that's received or sent. So check if a message is system message before checking if it's received or sent.

Also, update tests

/cc @guido.gunther

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/sadiq/fix-message-direction