Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused RoomSummary cache #3647

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

jmartinesp
Copy link
Member

Content

Remove roomSummariesByIdentifier, remove code adding and removing items but never retrieving one 🤡 .

Motivation and context

On one of the SDK upgrades this code was modified and the cache was no longer needed, but I didn't realise it until today.

Tests

There should be no behavior changes.

Tested devices

  • Physical
  • Emulator
  • OS version(s): 14

Checklist

  • Changes have been tested on an Android device or Android emulator with API 23
  • UI change has been tested on both light and dark themes
  • Accessibility has been taken into account. See https://github.com/element-hq/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
  • Pull request is based on the develop branch
  • Pull request title will be used in the release note, it clearly define what will change for the user
  • Pull request includes screenshots or videos if containing UI changes
  • Pull request includes a sign off
  • You've made a self review of your PR

@jmartinesp jmartinesp added the PR-Change For updates to an existing feature label Oct 10, 2024
@jmartinesp jmartinesp requested a review from a team as a code owner October 10, 2024 14:01
@jmartinesp jmartinesp requested review from bmarty and removed request for a team October 10, 2024 14:01
Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/5vjzC7

Copy link

sonarcloud bot commented Oct 10, 2024

Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.82%. Comparing base (366db47) to head (bedfc99).
Report is 8 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3647   +/-   ##
========================================
  Coverage    82.82%   82.82%           
========================================
  Files         1747     1747           
  Lines        41742    41742           
  Branches      5102     5102           
========================================
  Hits         34572    34572           
  Misses        5355     5355           
  Partials      1815     1815           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bmarty bmarty added the Run-Maestro Starts a Maestro Cloud session to run integration tests label Oct 10, 2024
@github-actions github-actions bot removed the Run-Maestro Starts a Maestro Cloud session to run integration tests label Oct 10, 2024
Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks!

@jmartinesp jmartinesp enabled auto-merge (squash) October 10, 2024 15:49
@jmartinesp jmartinesp merged commit 22f79f2 into develop Oct 10, 2024
34 checks passed
@jmartinesp jmartinesp deleted the misc/remove-unused-room-summary-cache branch October 10, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Change For updates to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants