diff --git a/TODO b/TODO index b93a9ce..c67e540 100644 --- a/TODO +++ b/TODO @@ -11,5 +11,6 @@ features: bugs: -* Direct Messages have no names +* Direct Messages have no names, only screen names (may not be fixable without + considerable tweets to python-twitter) * single-tweet tabs will not persist properly diff --git a/mytwitter.py b/mytwitter.py index 15b5e06..08ef7f6 100755 --- a/mytwitter.py +++ b/mytwitter.py @@ -433,7 +433,7 @@ class MyTwitter(): status = Status() status.id = dm.id status.user = User() - status.user.screen_name = dm.sender.screen_name + status.user.screen_name = dm.sender_screen_name status.user.name = dm.sender.name status.created_at = dm.created_at status.text = dm.text