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

Import history when creating bridged room #6

Open
remram44 opened this issue Aug 16, 2016 · 2 comments
Open

Import history when creating bridged room #6

remram44 opened this issue Aug 16, 2016 · 2 comments

Comments

@remram44
Copy link
Owner

Right now the room is created empty, although Gitter supports retrieving old messages and Matrix supports injecting them.

Importing the full history is not a good idea, but a limited number of recent messages would be useful.

@roblabla
Copy link

roblabla commented Mar 27, 2017

Isn't there a way to make the matrix server query the appservice for "older messages" ? That seems like a useful addition.

Something like the backfill from Server-Server API (https://matrix.org/docs/spec/server_server/unstable.html#backfilling)

@remram44
Copy link
Owner Author

remram44 commented Mar 27, 2017

You can't add older messages to the Matrix history, because of the way the history is linked together in a temper-resistant way (with hashes, like the blockchain). So a Matrix server can get more of the Matrix history for a room lazily, but that history has to already exist and be included in the hashes of more recent messages.

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

No branches or pull requests

2 participants