From 3c3dec6ebdfc85882601e1ffba083769f8bad096 Mon Sep 17 00:00:00 2001 From: Eduard Kuzmenko Date: Sun, 27 Feb 2022 15:23:59 +0200 Subject: [PATCH] Fix forwarding from_id again --- src/lib/appManagers/appMessagesManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/appManagers/appMessagesManager.ts b/src/lib/appManagers/appMessagesManager.ts index 4642b2ca..8cf28ac8 100644 --- a/src/lib/appManagers/appMessagesManager.ts +++ b/src/lib/appManagers/appMessagesManager.ts @@ -2000,7 +2000,7 @@ export class AppMessagesManager { message.fwd_from = this.generateForwardHeader(peerId, originalMessage); keys.push('views', 'forwards'); - if(message.fwd_from?.from_name) { + if(message.fwd_from?.from_name && peerId === rootScope.myId) { delete message.from_id; } }