Closed Empty2k12 closed 2 years ago
Hi, I tried to reproduce it, but for me placeholders disappeared after reaching on the top of timeline.
The room I tested on is #hydrogen:matrix.org which recently got upgraded to v9.
The room this is happening in is #netcup:msrd0.de. Feel free to reproduce.
Tried to reproduce with account on conduit.rs homeserver and it looks like error is popping up only on conduit based servers.
Tested in room: #netcup:msrd0.de
Error in Cinny:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map')
Error in Element:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'map')
@ajbura So is it a Cinny issue or Conduit?
It's a conduit issue. @kfiven
Ah, thanks! For reference: https://gitlab.com/famedly/conduit/-/issues/44
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Uncaught (in promise) TypeError: res.chunk is undefined
in the console.Expected behavior
Cinny recognizes that the end of the timeline has been reached and stops showing the placeholders.
Code
Relevant code-block is https://github.com/ajbura/cinny/blob/2ed4fc9fbfb59e06209397216bac4524f7e41a2e/src/app/organisms/room/RoomViewContent.jsx#L564
Desktop (please complete the following information):