Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Support for MSC2285 (hidden read receipts) #10413

Merged
merged 26 commits into from
Jul 28, 2021

Commits on Jul 14, 2021

  1. Add MSC2285

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    31d023a View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Implement MSC2285

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    2b28a13 View commit details
    Browse the repository at this point in the history
  2. Test that hidden read receipts don't break unread counts

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    c7ff003 View commit details
    Browse the repository at this point in the history
  3. Test that hidden read receipts are hidden

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    329ca23 View commit details
    Browse the repository at this point in the history
  4. Test filtering of hidden events

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    5ba7be7 View commit details
    Browse the repository at this point in the history
  5. Changelog

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    d11783c View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Make filter_out_hidden static

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    c352751 View commit details
    Browse the repository at this point in the history
  2. Handling of hidden read receipts for initial sync

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    1dcccd3 View commit details
    Browse the repository at this point in the history
  3. Correctly handle hidden=True

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    59763c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. _filters_correctly -> _test_filters_hidden

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    39f830c View commit details
    Browse the repository at this point in the history
  2. Add an MSC2285_HIDDEN const

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    b8ece44 View commit details
    Browse the repository at this point in the history
  3. Use correct param name

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    b90949b View commit details
    Browse the repository at this point in the history
  4. Use 400 for consistency

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    93c87aa View commit details
    Browse the repository at this point in the history
  5. Add a comment about not using prefixes

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    77cd0d8 View commit details
    Browse the repository at this point in the history
  6. Split out into seperate methods

    I am sorry for the long names, really
    
    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    15eca46 View commit details
    Browse the repository at this point in the history
  7. Default to hidden = None

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    dc4e8ac View commit details
    Browse the repository at this point in the history
  8. Iterate over both keys and values

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    397ffea View commit details
    Browse the repository at this point in the history
  9. test_read_receipts -> test_hidden_read_receipts

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    fa90c66 View commit details
    Browse the repository at this point in the history
  10. Hide MSC2285 behind a feature flag

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    d0d4dc6 View commit details
    Browse the repository at this point in the history
  11. Delint

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    7743ab8 View commit details
    Browse the repository at this point in the history
  12. Merge remote-tracking branch 'upstream/develop' into feature/hidden-rrs

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    8fd2929 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Move comment

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    49dfd1d View commit details
    Browse the repository at this point in the history
  2. Make if statement more readable

    Co-authored-by: Brendan Abolivier <github@brendanabolivier.com>
    SimonBrandner and babolivier authored Jul 27, 2021
    Configuration menu
    Copy the full SHA
    944ee17 View commit details
    Browse the repository at this point in the history
  3. Move comment to an even better place

    Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
    SimonBrandner committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    a02cf57 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ee87ab5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f6ba3ac View commit details
    Browse the repository at this point in the history