-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Check the state of prev_events a bit more thoroughly when coming over federation #3456
Conversation
Hmm. I've just had a thought: a server won't necessarily have permission to fetch state for events (e.g. if the server wasn't in the room at the time and history is private). I guess in the case where an event points to those prev events then we'll discard the event, but pick it up next time someone sends a message? |
I wonder whether we should drop the requirement that you need to be able to produce the prev_events? Given the server may not actually have permission to view the event? |
) | ||
self.assertEqual(self.successResultOf(extrem)[0], "$join:test.serv") | ||
|
||
@unittest.DEBUG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this meant to be left here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
errrr no... but it probably doesn't harm anything for right now :)
No description provided.