Commit 73920f5
committed
(maybe) fix handlers.test_federation_event.FederationEventHandlerTests.test_process_pulled_event_with_rejected_missing_state() by introducing a member that can match power levels with the remote member sending rejected power level events
I believe this is caused by the room creator being the member to send
the final power levels event. It failed the reverse topological sort in
inverted order(the two events were swapped places). Since the room
creator has an infinitely higher power level than the remote user, the
reverse topological sort should have fallen to the origin_server_ts as
the last fallback and it was not1 parent 46d58a5 commit 73920f5
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
830 | 830 | | |
831 | 831 | | |
832 | 832 | | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
833 | 836 | | |
834 | 837 | | |
835 | 838 | | |
| |||
838 | 841 | | |
839 | 842 | | |
840 | 843 | | |
841 | | - | |
| 844 | + | |
842 | 845 | | |
843 | 846 | | |
844 | 847 | | |
845 | 848 | | |
846 | 849 | | |
847 | | - | |
| 850 | + | |
848 | 851 | | |
849 | 852 | | |
850 | 853 | | |
| |||
1008 | 1011 | | |
1009 | 1012 | | |
1010 | 1013 | | |
1011 | | - | |
1012 | | - | |
| 1014 | + | |
| 1015 | + | |
1013 | 1016 | | |
1014 | 1017 | | |
1015 | 1018 | | |
| |||
0 commit comments