mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 01:21:09 +03:00
Add some debugging to narrow down what is going on
This commit is contained in:
parent
16c8b4ecbd
commit
77cee5d880
2 changed files with 4 additions and 0 deletions
|
@ -452,6 +452,9 @@ class RoomMemberHandler(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
is_host_in_room = yield self._is_host_in_room(current_state_ids)
|
is_host_in_room = yield self._is_host_in_room(current_state_ids)
|
||||||
|
logger.info("Is host in room? %s" % is_host_in_room)
|
||||||
|
logger.info("effective_membership_state %s" % effective_membership_state)
|
||||||
|
logger.info("remote_room_hosts %s" % remote_room_hosts)
|
||||||
|
|
||||||
if effective_membership_state == Membership.JOIN:
|
if effective_membership_state == Membership.JOIN:
|
||||||
if requester.is_guest:
|
if requester.is_guest:
|
||||||
|
|
|
@ -1386,6 +1386,7 @@ class SyncHandler(object):
|
||||||
|
|
||||||
mem_change_events_by_room_id = {}
|
mem_change_events_by_room_id = {}
|
||||||
for event in rooms_changed:
|
for event in rooms_changed:
|
||||||
|
logger.warn("Membership %s" % event.room_id)
|
||||||
mem_change_events_by_room_id.setdefault(event.room_id, []).append(event)
|
mem_change_events_by_room_id.setdefault(event.room_id, []).append(event)
|
||||||
|
|
||||||
newly_joined_rooms = []
|
newly_joined_rooms = []
|
||||||
|
|
Loading…
Reference in a new issue