2022-06-09 20:12:36 +00:00
|
|
|
accessing
|
|
|
|
messages
|
2022-06-09 23:07:22 +00:00
|
|
|
messages ifNil: [ messages := TweetsCollection new ].
|
2023-07-27 01:52:32 +00:00
|
|
|
messages ifEmpty: [ self getLocalMessages ].
|
2022-06-09 20:12:36 +00:00
|
|
|
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 ]
|