Browse Source

Fix forwarding from_id again

master
Eduard Kuzmenko 3 years ago
parent
commit
3c3dec6ebd
  1. 2
      src/lib/appManagers/appMessagesManager.ts

2
src/lib/appManagers/appMessagesManager.ts

@ -2000,7 +2000,7 @@ export class AppMessagesManager {
message.fwd_from = this.generateForwardHeader(peerId, originalMessage); message.fwd_from = this.generateForwardHeader(peerId, originalMessage);
keys.push('views', 'forwards'); keys.push('views', 'forwards');
if(message.fwd_from?.from_name) { if(message.fwd_from?.from_name && peerId === rootScope.myId) {
delete message.from_id; delete message.from_id;
} }
} }

Loading…
Cancel
Save