diff options
author | Jordan Bracco <href@random.sh> | 2023-03-06 18:09:57 +0100 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2023-03-06 18:09:57 +0100 |
commit | 5ab36499520e3dd9958c79b5c124333f1313ec5f (patch) | |
tree | 5b2d1dc806e401b31b2de3d4ef7752e3635e6fc8 /lib/plugins | |
parent | plugin: link/image: commit py node (diff) |
hate this
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/logger.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/plugins/logger.ex b/lib/plugins/logger.ex index 9b47cd8..46c2a5b 100644 --- a/lib/plugins/logger.ex +++ b/lib/plugins/logger.ex @@ -70,7 +70,8 @@ defmodule Nola.Plugins.Logger do %{"_id" => id, "type" => "nola.message:v1", - "object" => msg} + "object" => %Nola.Message{msg | meta: Map.delete(msg.meta, :from)} + } end def format_to_db(anything) do |