From c74c4287140ca7d59e7af1755742bcf783abbd26 Mon Sep 17 00:00:00 2001 From: Luca Saiu Date: Tue, 12 Oct 2021 13:20:25 +0200 Subject: [PATCH] =?UTF-8?q?empty=5Fmessage=5Fcopy:=20copy=20the=20rating?= =?UTF-8?q?=20as=20well=20(J=C3=B6rg=20Knobloch=20discovered=20the=20bug)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks Jörg. --- src/message_cache.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/message_cache.cc b/src/message_cache.cc index e942290..90546d4 100644 --- a/src/message_cache.cc +++ b/src/message_cache.cc @@ -269,6 +269,8 @@ namespace pEp { dst->opt_fields->next = dup(src->opt_fields); } + dst->rating = src->rating; + return dst; }