We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d062a8 commit b86d78cCopy full SHA for b86d78c
sogs/legacy_routes.py
@@ -394,15 +394,15 @@ def handle_legacy_delete_messages():
394
if res.fetchone()[0]:
395
abort(http.UNAUTHORIZED)
396
397
- conn.execute(
398
- """
399
- UPDATE messages SET data = NULL, data_size = NULL, signature = NULL
400
- WHERE room = ? AND id IN ({})
401
- """.format(
402
- in_params
403
- ),
404
- [room.id, *ids],
405
- )
+ conn.execute(
+ """
+ UPDATE messages SET data = NULL, data_size = NULL, signature = NULL
+ WHERE room = ? AND id IN ({})
+ """.format(
+ in_params
+ ),
+ [room.id, *ids],
+ )
406
407
return jsonify({'status_code': 200})
408
0 commit comments