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

Hide/ignore avatar changes in timeline #1173

Open
c-aliane opened this issue Jun 13, 2024 · 1 comment
Open

Hide/ignore avatar changes in timeline #1173

c-aliane opened this issue Jun 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@c-aliane
Copy link

c-aliane commented Jun 13, 2024

Feature Description

Add a setting a setting to ignore avatar/profile picture changes in the timeline

Rationale

When you change your own profile picture a lot of the chats get pushed in the timeline even though there are no recent messages. This made it impossible to see when the last real activity happened in the timeline.
I'm also not interested in avatar changes of others and want to see the last message of a chat in the overview.

Example:
image

Mockup

No response

Additional Context

I changed my profile picture in Element and it pushed a lot of inactive chats to the top of my timeline in Fluffychat. Weirdly enough it didn't push all of my chats (~60 chats out of 100)
The Element App didn't experience the same behavior.

I'm using Mautrix Bridges for WA, Signal, Telegram and the most up to date apps for Element and Fluffychat on my iPhone:
App Version
Fluffy Chat 1.21.0
Element 1.11.12
Additional Platform Information
Device: iPhone 14 Pro

@c-aliane c-aliane added the enhancement New feature or request label Jun 13, 2024
@dabblingwithcode
Copy link
Contributor

dabblingwithcode commented Jun 24, 2024

Assuming you already set hideUnimportantEvents to true in the settings, to solve this you'd need to change the getter lastEvent in the matrix sdk file room.dart in line 378:

if (_lastEvent != null) return _lastEvent;

With this code:

    final thisLastEvent = _lastEvent;
    if (thisLastEvent != null && thisLastEvent.isVisibleInGui)
      return thisLastEvent;

This did the trick for us. This here would be the wrong repo to request this, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants