mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 03:54:52 -04:00
Start implementing auth conflict res
This commit is contained in:
parent
c92d64a6c3
commit
0ef5bfd6a9
6 changed files with 253 additions and 52 deletions
|
@ -31,3 +31,13 @@ class RejectionsStore(SQLBaseStore):
|
|||
"last_failure": self._clock.time_msec(),
|
||||
}
|
||||
)
|
||||
|
||||
def get_rejection_reason(self, event_id):
|
||||
self._simple_select_one_onecol(
|
||||
table="rejections",
|
||||
retcol="reason",
|
||||
keyvalues={
|
||||
"event_id": event_id,
|
||||
},
|
||||
allow_none=True,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue