From f1c4c40aec1baf54b0b9fc50a2f404df5365c2bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kl=C3=A4hn?= Date: Mon, 5 Jul 2021 22:25:51 +0200 Subject: [PATCH] make fix --- src/chat.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/chat.rs b/src/chat.rs index 46f5896d9..2b3e9770b 100644 --- a/src/chat.rs +++ b/src/chat.rs @@ -2797,8 +2797,11 @@ pub async fn forward_msgs(context: &Context, msg_ids: &[MsgId], chat_id: ChatId) // we tested a sort of broadcast // by not marking own forwarded messages as such, // however, this turned out to be to confusing and unclear. + + if msg.get_viewtype() != Viewtype::Sticker { msg.param .set_int(Param::Forwarded, src_msg_id.to_u32() as i32); + } msg.param.remove(Param::GuaranteeE2ee); msg.param.remove(Param::ForcePlaintext);