Skip to content
Snippets Groups Projects
Commit 54c5669c authored by Nicolas Peugnet's avatar Nicolas Peugnet
Browse files

matrix2tsv: anonymize the content of the messages

parent d8eac41b
Branches
Tags
No related merge requests found
......@@ -15,5 +15,6 @@
# Select the three fields we need, replacing the sender address by its number
# and output everything as a TSV.
| .messages[]
| [.origin_server_ts, $senders[.sender], .content.body]
| (.content.body | gsub("<@\\S+:\\S+>"; "<******>")) as $body
| [.origin_server_ts, $senders[.sender], $body]
| @tsv
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment