1
0

Apply suggestions from Rich's code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
reivilibre
2020-08-26 20:08:51 +01:00
committed by GitHub
parent 44765e9510
commit 56aaa17c8e
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
-- after there has been a connectivity problem for any reason.
-- This stores, for each (destination, room) pair, the event_id and stream_ordering
-- of the latest event to be enqueued for transmission to that destination.
-- of the latest event for that destination.
CREATE TABLE IF NOT EXISTS destination_rooms (
-- the destination in question
destination TEXT NOT NULL,

View File

@@ -159,7 +159,7 @@ class TransactionStore(SQLBaseStore):
allow_none=True,
)
if result and result["retry_last_ts"] and result["retry_last_ts"] > 0:
if result and result["retry_last_ts"]:
return result
else:
return None