-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check that current state events are in timeline #385
Conversation
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.
looks ok otherwise
tests/31sync/06state.pl
Outdated
|
||
# Test to check that current state events appear in the timeline, | ||
# even if they were set during a period the user couldn't see | ||
test "Current state appears in timeline in private history", |
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.
please could you add a reference to a github bug (preferably a synapse one, but an ios one would do)?
$_->{type} eq "m.room.member" | ||
&& $_->{state_key} eq $invitee->user_id | ||
&& $_->{content}{membership} eq "join" | ||
} @{ $room->{timeline}{events} } |
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.
not sure I'd expect this to appear in the timeline, but ymmv
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.
It can't really be put in the "state" part, as that specifically is for state at the start of the timeline, which would rightly have the "invite" in. It does feel quite icky though :/
|
||
Future->done( 1 ); | ||
}) | ||
}; |
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.
NL ?
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.
Sigh. This is what I get for switching editor from one that auto inserts new line at the end.
No description provided.