Modyfing tweets for filtering user names with id changed.
This commit is contained in:
parent
d4432bae7a
commit
0b172e6f29
@ -33,12 +33,8 @@ tweets
|
||||
subcollection := self messages
|
||||
select: [ :each | (each authorId = '1506282884746952707') or: [ each authorId = self id ] ]
|
||||
].
|
||||
(self userName ~= 'FranciaMarquezM' and: [ self userName ~= 'sandralajas' ])
|
||||
ifTrue: [ (self userName ~= 'IBetancourtCol' and: [ self userName ~= 'sergio_fajardo' ])
|
||||
ifTrue: [ (self userName ~= 'ingrodolfohdez' and: [ self userName ~= 'CastilloMarelen' ])
|
||||
ifTrue: [ subcollection := self messages select: [ :each | each authorId = self id ]] ]
|
||||
|
||||
].
|
||||
(#('FranciaMarquezM' 'sandralajas' 'IBetancourtCol' 'sergio_fajardo' 'ingrodolfohdez' 'CastilloMarelen') includes: self userName)
|
||||
ifFalse: [ subcollection := self messages select: [ :each | each authorId = self id ]].
|
||||
^ TweetsCollection new
|
||||
messages: subcollection;
|
||||
yourself
|
Loading…
Reference in New Issue
Block a user