You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.
There is no support currently to do this in gomatrix. However, there is an HTTP API you can use which will return the information you want. This is the /joined_members API which is supported on Synapse v0.18.5-rc3 or above. This is a new API which has not yet landed on the specification. Usage:
Be aware that this API is separate to /sync, so it is racey. If you really care about getting the correct display name for each message for circumstances like:
Alice: test
<Alice changed name to Bob>
Bob: test
then you will need to listen for the membership change events on the DefaultSyncer.
Hi,
I'm trying to build an IOU bot for matrix (https://github.com/dryvenn/matrix-iou-bot) and I was wondering:
How do I get a user's "display name" from his ID?
How do I get the list of all the users in a room?
The goal here is to map human-friendly names in a message to actual users.
Any help appreciated!
The text was updated successfully, but these errors were encountered: