aboutsummaryrefslogtreecommitdiff
path: root/federationsender/storage/postgres/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'federationsender/storage/postgres/storage.go')
-rw-r--r--federationsender/storage/postgres/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/federationsender/storage/postgres/storage.go b/federationsender/storage/postgres/storage.go
index c60f6dc5..d97b5d29 100644
--- a/federationsender/storage/postgres/storage.go
+++ b/federationsender/storage/postgres/storage.go
@@ -87,7 +87,7 @@ func (d *Database) UpdateRoom(
return nil
}
- if lastSentEventID != oldEventID {
+ if lastSentEventID != "" && lastSentEventID != oldEventID {
return types.EventIDMismatchError{
DatabaseID: lastSentEventID, RoomServerID: oldEventID,
}