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

Detect join of already joined user as a data change #41

Closed
maralorn opened this issue Oct 11, 2016 · 6 comments
Closed

Detect join of already joined user as a data change #41

maralorn opened this issue Oct 11, 2016 · 6 comments
Labels
enhancement A feature or change request for the library

Comments

@maralorn
Copy link
Contributor

No description provided.

@KitsuneRal KitsuneRal added the enhancement A feature or change request for the library label Jun 29, 2017
@KitsuneRal
Copy link
Member

Judging by the code and by Quaternion behaviour, I suppose that it's exactly how things work: when an m.room.member "join" event comes about a user that's already joined, it's processed as a data change, and respective signals (nameChanged or avatarChanged) are emitted to reflect the change in clients. Is there anything else here I don't notice, or it's just a outdated issue that can be closed now?

@maralorn
Copy link
Contributor Author

No, as far as I can tell this is not a an outdated issue. When I submitted it the event also was already correctly showing the data. I am merely talking about how to display it properly. It is very confusing, that the timeline shows a join.

@KitsuneRal
Copy link
Member

Aah, you mean displaying - thanks for clarification. Right, it's still "joined" even on updates. I wonder if it relates to Quaternion rather than libqmatrixclient - the messages are formed on the Quaternion side.

@maralorn
Copy link
Contributor Author

maralorn commented Sep 23, 2017 via email

@KitsuneRal
Copy link
Member

Given that there's no difference between joining and updating on the wire, I don't think it's worth a different event. I'd rather modify RoomMemberEvent by adding some flag or so. Just a thought passing by.

@KitsuneRal KitsuneRal added E2EE End-to-end encryption is affected and removed E2EE End-to-end encryption is affected labels Oct 27, 2017
@KitsuneRal
Copy link
Member

#105 is fixed, in particular for member events, which means the library part of this issue is complete. Quaternion will reflect those changes once I pushed a respective commit to its repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or change request for the library
Projects
Status: Version 0.1 - Released
Development

No branches or pull requests

2 participants