Modifying messages decalration for twitter and nitter user.
This commit is contained in:
parent
68333ff0c0
commit
3d7cc8110c
@ -1,4 +1,5 @@
|
|||||||
accessing
|
accessing
|
||||||
getRemoteMessagesFromHtml
|
getRemoteMessagesFromHtml
|
||||||
|
|
||||||
^ self messages: (self collectRawTweetsUpToPage: 1)
|
self messages: (self collectRawTweetsUpToPage: 1).
|
||||||
|
^ self messages
|
@ -0,0 +1,7 @@
|
|||||||
|
accessing
|
||||||
|
messages
|
||||||
|
|
||||||
|
messages ifNil: [ ^ messages := TweetsCollection new ].
|
||||||
|
messages ifEmpty: [ self getRemoteMessagesFromHtml ].
|
||||||
|
self config isEmpty ifTrue: [ ^ messages ].
|
||||||
|
^ messages select: [ :message | message created between: self reportingPeriod start and: self reportingPeriod end ]
|
@ -1,5 +1,4 @@
|
|||||||
accessing
|
accessing
|
||||||
messages
|
messages
|
||||||
messages ifNil: [ ^ messages := TweetsCollection new ].
|
|
||||||
self config isEmpty ifTrue: [ ^ messages ].
|
^ self subclassResponsibility
|
||||||
^ messages select: [ :message | message created between: self reportingPeriod start and: self reportingPeriod end ]
|
|
Loading…
Reference in New Issue
Block a user