Allow backfilling create event itself

This commit is contained in:
Timo Kösters 2023-02-21 17:43:39 +01:00
parent eae0989c40
commit d39003ffc0
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB

View file

@ -101,7 +101,7 @@ impl Service {
) -> Result<bool> {
let shortstatehash = match self.pdu_shortstatehash(event_id)? {
Some(shortstatehash) => shortstatehash,
None => return Ok(false),
None => return Ok(true),
};
if let Some(visibility) = self