diff options
Diffstat (limited to 'matrix/matrix.go')
-rw-r--r-- | matrix/matrix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix/matrix.go b/matrix/matrix.go index 9178ca0..6c2809c 100644 --- a/matrix/matrix.go +++ b/matrix/matrix.go @@ -321,7 +321,7 @@ func (c *Container) HandleRedaction(source EventSource, evt *mautrix.Event) { debug.Print("Failed to mark", evt.Redacts, "as redacted:", err) } - if !room.Loaded() { + if !room.Loaded() || redactedEvt == nil { return } |