heh whoops

This commit is contained in:
Neil Alexander 2022-08-31 14:09:53 +01:00
parent 92c4a96003
commit 0bd7c88724
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -166,7 +166,7 @@ func (s *OutputRoomEventConsumer) filterRoomserverEvents(
// TODO: We can probably benefit from some caching here somewhere.
filteredEvents := make([]*gomatrixserverlib.HeaderedEvent, 0, len(events))
for _, event := range events {
if s.appserviceIsInterestedInEvent(ctx, event, state.ApplicationService) {
if !s.appserviceIsInterestedInEvent(ctx, event, state.ApplicationService) {
continue
}
filteredEvents = append(filteredEvents, event)