Skip to content

Commit

Permalink
Remove dangling call
Browse files Browse the repository at this point in the history
  • Loading branch information
neilalexander committed Sep 23, 2024
1 parent 8290efd commit 0904430
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion roomserver/storage/shared/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,6 @@ func (d *EventDatabase) MaybeRedactEvent(
sender1Domain = string(sender1.Domain())
}
sender2Domain := ""
redactionEvent.SenderID()
sender2, err2 := querier.QueryUserIDForSender(ctx, redactedEvent.RoomID(), redactionEvent.SenderID())
if err2 == nil {
sender2Domain = string(sender2.Domain())
Expand Down

0 comments on commit 0904430

Please sign in to comment.