Fix the hdata tags updating code for redactions.

This commit is contained in:
poljar (Damir Jelić) 2018-02-06 12:07:43 +01:00
parent 2813c42c3c
commit 4514cc43f6

View file

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