Remove loggin of encrypted message body

This commit is contained in:
Nicolas Werner 2020-01-23 20:45:23 +01:00
parent 86960e67ec
commit c758cead9e

View file

@ -163,8 +163,6 @@ encrypt_group_message(const std::string &room_id, const std::string &device_id,
{ {
using namespace mtx::events; using namespace mtx::events;
nhlog::crypto()->info("message body {}", body.dump());
// relations shouldn't be encrypted... // relations shouldn't be encrypted...
mtx::common::RelatesTo relation; mtx::common::RelatesTo relation;
if (body["content"].count("m.relates_to") != 0) { if (body["content"].count("m.relates_to") != 0) {