Skip to content

Commit

Permalink
fix: use name instead of sender name
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-zahedi committed May 15, 2024
1 parent 7b14876 commit f4d77b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_telethon/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def send_a_test_message(self, request, queryset):
'fn': 'send_message',
'msg': f'Check **{entity}**',
'parser': 'md',
'sender_name': entity.client_session.sender_name,
'sender_name': entity.client_session.name,
'receiver_id': entity_id,
'file_path': None,
}
Expand Down

0 comments on commit f4d77b3

Please sign in to comment.