Fix forwarding from_id again

This commit is contained in:
Eduard Kuzmenko 2022-02-27 15:23:59 +02:00
parent a3c6e4d365
commit 3c3dec6ebd

View File

@ -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;
}
}