Browse Source

Fix forwarding messages from saved

master
Eduard Kuzmenko 3 years ago
parent
commit
8da51f4c45
  1. 4
      src/lib/appManagers/appMessagesManager.ts

4
src/lib/appManagers/appMessagesManager.ts

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

Loading…
Cancel
Save