mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 09:14:14 -04:00
Adjusted webclient to use new state paths. Updated membership msg template to actually show the person invited. Factored out common membership functions in matrix service.
This commit is contained in:
parent
52b64617f9
commit
5796232cb1
6 changed files with 24 additions and 47 deletions
|
@ -318,7 +318,8 @@ class RoomMemberListRestServlet(RestServlet):
|
|||
user_id=user.to_string())
|
||||
|
||||
for event in members["chunk"]:
|
||||
target_user = self.hs.parse_userid(event["state_key"])
|
||||
# FIXME: should probably be state_key here, not user_id
|
||||
target_user = self.hs.parse_userid(event["user_id"])
|
||||
# Presence is an optional cache; don't fail if we can't fetch it
|
||||
try:
|
||||
presence_state = yield self.handlers.presence_handler.get_state(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue