SchildiChat / schildichat-desktop

Matrix client / Element Web/Desktop fork
https://schildi.chat
Apache License 2.0
371 stars 42 forks source link

Room with Disappearing messages shows notification - no message available #143

Closed moan0s closed 1 year ago

moan0s commented 1 year ago

Maybe this is a upstream bug, if so should i report this to element?

Steps to reproduce

  1. Use an account on a Synapse server that makes use of retention (purges messages)
  2. Create a new room
  3. Send an m.retention event with a small retention time (here one hour)
    {
    "type": "m.room.retention",
    "sender": "@xy:example.com",
    "content": {
    "max_lifetime": 3600000
    },
    "state_key": "",
    "origin_server_ts": 1641353041750,
    "unsigned": {
    "age": 17572771043
    },
    "event_id": "$7wf6WmAsADF56w3gPx-TSzeikYbeA-7kro77rT7nE",
    "room_id": "!ABCDEyfgmxxaqWTULn:example.com"
    }
  4. Send some messages
  5. Log out and log in after messages have been purged (depends on server configuration).

What happens

Now you can see the room where you activated disappearing messages and see a notification (the small white dot). But the room itself is empty as all messages have been purged and there is no way to mark this room as read.

image

Expected result

Room looks like there never was a message.

su-ex commented 1 year ago

This is very likely upstream, there's nothing changed in this regard compared to Element. I didn't test this though, so probably you should test with Element as well before reporting to them.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 150 days with no activity. Remove stale label or comment or this will be closed in 14 days.