From 1916cd14fbc87c4738f961a5b4176404984ff1ba 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 615355b..a862b9b 100644 --- a/src/message_cache.cc +++ b/src/message_cache.cc @@ -268,6 +268,8 @@ namespace pEp { dst->opt_fields->next = dup(src->opt_fields); } + dst->rating = src->rating; + return dst; }