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 ] ]
|
||||
].
|
||||
(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
|
||||
messages: subcollection;
|
||||
yourself
|
@ -1,4 +1,5 @@
|
||||
accessing
|
||||
messages
|
||||
messages ifNil: [ ^ messages := TweetsCollection new ].
|
||||
self config isEmpty ifTrue: [ ^ messages ].
|
||||
^ messages select: [ :message | message created between: self reportingPeriod start and: self reportingPeriod end ]
|
Loading…
Reference in New Issue
Block a user