Fixing messages for nitter user and tweets filtering.
This commit is contained in:
parent
0f62345220
commit
ac5d935ce1
@ -14,7 +14,7 @@ tweets
|
|||||||
select: [ :each | (each authorId = '1502504562984374276') or: [ each authorId = self id ] ]
|
select: [ :each | (each authorId = '1502504562984374276') or: [ each authorId = self id ] ]
|
||||||
].
|
].
|
||||||
(self userName ~= 'FranciaMarquezM' or: [ self userName ~= 'sandralajas' ])
|
(self userName ~= 'FranciaMarquezM' or: [ self userName ~= 'sandralajas' ])
|
||||||
ifFalse: [ subcollection := self messages select: [ :each | each authorId = self id ] ].
|
ifTrue: [ subcollection := self messages select: [ :each | each authorId = self id ] ].
|
||||||
^ TweetsCollection new
|
^ TweetsCollection new
|
||||||
messages: subcollection;
|
messages: subcollection;
|
||||||
yourself
|
yourself
|
@ -1,4 +1,5 @@
|
|||||||
accessing
|
accessing
|
||||||
messages
|
messages
|
||||||
messages ifNil: [ ^ messages := TweetsCollection new ].
|
messages ifNil: [ ^ messages := TweetsCollection new ].
|
||||||
|
self config isEmpty ifTrue: [ ^ messages ].
|
||||||
^ messages select: [ :message | message created between: self reportingPeriod start and: self reportingPeriod end ]
|
^ messages select: [ :message | message created between: self reportingPeriod start and: self reportingPeriod end ]
|
Loading…
Reference in New Issue
Block a user