matrix-client-api's People
matrix-client-api's Issues
server discovery fails for domain server urls
We use the discovery function to tell if a server is online/reachable. This works fine if the matrix_server_url
is a home server but fails if the matrix_server_url
points to a TLD (like matrix.org
).
It must be possible to use either a TLD or an explicit server FQDN.
the creator property was removed in room v11, replace it with sender property
https://spec.matrix.org/v1.9/rooms/v11/#remove-the-creator-property-of-mroomcreate-events
Update the code of roomstateReducer
accordingly (https://github.com/syncpoint/matrix-client-api/blob/main/src/convenience.mjs#L51)
Snapshots
With a growing number of events it gets more expensive to calculate the most recent state since we need to consider all events in the timeline.
Snapshots of the most recent state would be helpful since a "late comer" needs to read the latest snapshot and all subsequent events only.
Creating snapshots is triggered by the number of events that have been posted since the latest snapshot. The responsibility for creating the snapshot for a room/layer is transferred to the client whose latest events releases the trigger.
If there are two users A and B both clients need to count the events. If the trigger count is set to 10 and A posted 9 events the client that posts the next event is responsible for the snapshot.
Snapshots may become big and exceed the max size of matrix messages. Thus snapshots need to be sliced into chunks.
react native app
can this client api be used to build a react native app or a mobile web app in JS and html.
can you add list of features possible through this api on the readme. thank you
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.