Modyfing tweets for filtering user names with id changed.

This commit is contained in:
ruidajo 2022-06-15 16:30:09 -05:00
parent d4432bae7a
commit 0b172e6f29
1 changed files with 2 additions and 6 deletions

View File

@ -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