Skip to content

Commit

Permalink
refactor: use sender id for new message log
Browse files Browse the repository at this point in the history
  • Loading branch information
Morb0 committed May 6, 2022
1 parent f0e2486 commit 6c42e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telegram.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class TelegramService implements OnApplicationBootstrap {

private async onNewMessage(event: NewMessageEvent): Promise<void> {
this.logger.verbose(
`New message from "${event.message.fromId}" - "${event.message.text}"`,
`New message from "${event.message._senderId}" - "${event.message.text}"`,
);

if (!event.isPrivate) {
Expand Down

0 comments on commit 6c42e0e

Please sign in to comment.