Socialmetrica/Socialmetrica.package/NitterUser.class/instance/messages.st

12 lines
402 B
Smalltalk
Raw Normal View History

accessing
messages
messages ifNil: [ messages := TweetsCollection new ].
messages ifEmpty: [ self getLocalMessages ].
messages ifEmpty: [ self getRemoteMessagesFromHtml ].
2023-07-27 16:20:19 +00:00
config at: 'reportingPeriod' ifAbsent: [ ^ messages ].
"self configureDefaultReportingPeriod."
^ messages
select: [ :message |
message created
between: self reportingPeriod start
and: self reportingPeriod end ]