Comments (4)
This issue is related to tracking devices for other matrix users
To avoid missing some devices, a first solution is to ask again all devices of all rooms members when we joins a new room by using POST /_matrix/client/unstable/keys/query but it is quite bandwith consuming
Can we imagine a light version of this request to only get current list fo device_ID for users?
Client will call this request when it joins a room, check which device_id is missing or has been deleted and ask complete information only for needed device?
We can also imagine to associate a track value for list of device of each user? This track value will be init to 0 and will be incremented each time a device is added or removed?
example:
1st device created : device_tracker[user XX] = 0
2nd device created :device_tracker[user XX] = 1
1st device deleted : device_tracker[user XX] = 2
3rd device created : device_tracker[user XX] = 3
This device_tracker would be returned in room state -> for each room member
So that when a client joins a room, he could easily check if its image of device list is obsolet or not for each room member.
from matrix-ios-sdk.
Other remark: if a device cannot decrypt a message because of unknown inbound session, it could be useful to create a new device request to ask to device emitter the next megolm key associated to a megolm session.
So that we miss one message but not the other ones.
What do you think of these proposals?
from matrix-ios-sdk.
The issue is similar to element-hq/element-web#2305.
We have a test testLeftAndJoinedBob
that almost checks this scenario.
from matrix-ios-sdk.
tracking this as element-hq/element-web#4983 on the riot-web side
from matrix-ios-sdk.
Related Issues (20)
- creating video call not initiated HOT 1
- Crash when saving read receipts
- Registration with captcha or email verification
- iOS Element App does not notify with sounds HOT 2
- build.sh script is outdated for version 0.27.2
- Crash when sending file with unrecognized extension HOT 1
- Look here, guys, I've got a tough problem, and I need your help ~ HOT 1
- Cocoapods out of date HOT 3
- Remove the libbase58 pod dependency HOT 3
- REQ: add support for Contact Key Verification HOT 1
- MXLastMessage `text` and `attributedText` are always nil HOT 1
- How to download the image
- Cannot listen events for MXUser
- https://github.com/viewvc/viewvc/
- https://github.com/matrix-org/matrix-ios-sdk
- Need Guidance on New Device Verification Steps and Best Practices for E2EE
- I want to mute audio call. audioMuted flag is not working.
- Session start error after deleting an application
- Failed to find any key to satisfy on group audio call
- Any plan to add a Privacy Manifest? HOT 1
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.
from matrix-ios-sdk.