Initial implementation of auth conflict resolution

This commit is contained in:
Erik Johnston 2015-01-29 16:50:23 +00:00
parent 5a3a15f5c1
commit 78015948a7
8 changed files with 211 additions and 82 deletions

View file

@ -28,12 +28,12 @@ class RejectionsStore(SQLBaseStore):
values={
"event_id": event_id,
"reason": reason,
"last_failure": self._clock.time_msec(),
"last_check": self._clock.time_msec(),
}
)
def get_rejection_reason(self, event_id):
self._simple_select_one_onecol(
return self._simple_select_one_onecol(
table="rejections",
retcol="reason",
keyvalues={