Add delete and block in the UI

This commit is contained in:
Thomas Sileo
2018-06-04 18:53:44 +02:00
parent c17a9a5a0c
commit d2e62ed5b6
2 changed files with 25 additions and 0 deletions

5
app.py
View File

@@ -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)