2022-05-03 17:32:05 +00:00
|
|
|
accessing
|
2022-05-15 18:56:39 +00:00
|
|
|
oldestOf: userName
|
2022-05-03 17:32:05 +00:00
|
|
|
|
2022-05-15 18:56:39 +00:00
|
|
|
| user |
|
|
|
|
user := (TwitterUser storedInstances select: [ :each | each userName = userName ]) first.
|
2022-05-03 17:32:05 +00:00
|
|
|
self messages ifNil: [ ^ nil ].
|
|
|
|
self messages ifEmpty: [ ^ nil ].
|
2022-05-15 18:56:39 +00:00
|
|
|
^ ((user messages: self; yourself; tweets)
|
|
|
|
select: [ :tweet | tweet created = ((self collect: [ :each | each created ]) asSortedCollection first)]) first.
|