Add delete and block in the UI
This commit is contained in:
parent
c17a9a5a0c
commit
d2e62ed5b6
2 changed files with 25 additions and 0 deletions
5
app.py
5
app.py
|
@ -142,6 +142,11 @@ def quote_plus(t):
|
|||
return urllib.parse.quote_plus(t)
|
||||
|
||||
|
||||
@app.template_filter()
|
||||
def is_from_outbox(t):
|
||||
return t.startswith(ID)
|
||||
|
||||
|
||||
@app.template_filter()
|
||||
def clean(html):
|
||||
return clean_html(html)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue