Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Older direct links stop working #65

Open
xaur opened this issue Aug 3, 2018 · 7 comments
Open

Older direct links stop working #65

xaur opened this issue Aug 3, 2018 · 7 comments

Comments

@xaur
Copy link

xaur commented Aug 3, 2018

I opened this message direct link from Jul 5

https://view.matrix.org/room/!wSdymYrEpBhsWlDJuk:decred.org/?anchor=$153090455433548QNlFj:decred.org

and it showed "Some error has occurred". Then I removed the anchor part from the URL to open latest messages in the room and pressed "Load older messages" until I reached Jul 5 and it showed the message I was after. Then I visited initial direct link again and it opened.

Example of direct link that doesn't work (until someone visits it via "Load older messages"):

https://view.matrix.org/room/!OfChXgczrIlpEZSFAv:decred.org/?anchor=$153125687135698lmQRO:decred.org

@t3chguy
Copy link
Member

t3chguy commented Aug 3, 2018

Yes because of the limitations of the peeking APIs it cannot access old events without having to paginate to them which would be very expensive

@xaur
Copy link
Author

xaur commented Aug 3, 2018

Does it mean a won't fix?

@t3chguy
Copy link
Member

t3chguy commented Aug 4, 2018

It'd mean having to persist things locally (duplicating data) but it's not completely out of the question

@xaur
Copy link
Author

xaur commented Aug 4, 2018

Thanks. I guess I shall be using matrix.to "dispatch" links then -- tried opening some "old" links in Riot and they open pretty fast.

@xaur
Copy link
Author

xaur commented Aug 4, 2018

By the way, why old message links work in riot?

Jus tried this link from Jul 2 and it opened pretty fast. Does riot persist things locally (duplicating data) as you mentioned?

P.S. Apologies for novice questions, I'm trying to migrate my reports from linking to Slack messages to linking to Matrix messages and looking for most reader-friendly solutions. Expiring links and #60 are two obstacles I encountered

@t3chguy
Copy link
Member

t3chguy commented Aug 4, 2018

Riot uses the context api which is relatively expensive and would have to be done for each event, matrix-static pulls pages of events in order and already runs into issues with hitting the server too much

@bkil
Copy link

bkil commented May 29, 2023

Related: #115

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants