From 4514cc43f6783cb0c7a4eacfd8abb22cf46ae332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?poljar=20=28Damir=20Jeli=C4=87=29?= Date: Tue, 6 Feb 2018 12:07:43 +0100 Subject: [PATCH] Fix the hdata tags updating code for redactions. --- matrix/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/messages.py b/matrix/messages.py index ff1e375..28f2f3b 100644 --- a/matrix/messages.py +++ b/matrix/messages.py @@ -350,7 +350,7 @@ def matrix_redact_line(data, tags, event): tags.append("matrix_new_redacted") - new_data = {'tags_array': tags, + new_data = {'tags_array': ','.join(tags), 'message': message} W.hdata_update(hdata_line_data, data, new_data)