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

View File

@ -33,12 +33,8 @@ tweets
subcollection := self messages subcollection := self messages
select: [ :each | (each authorId = '1506282884746952707') or: [ each authorId = self id ] ] select: [ :each | (each authorId = '1506282884746952707') or: [ each authorId = self id ] ]
]. ].
(self userName ~= 'FranciaMarquezM' and: [ self userName ~= 'sandralajas' ]) (#('FranciaMarquezM' 'sandralajas' 'IBetancourtCol' 'sergio_fajardo' 'ingrodolfohdez' 'CastilloMarelen') includes: self userName)
ifTrue: [ (self userName ~= 'IBetancourtCol' and: [ self userName ~= 'sergio_fajardo' ]) ifFalse: [ subcollection := self messages select: [ :each | each authorId = self id ]].
ifTrue: [ (self userName ~= 'ingrodolfohdez' and: [ self userName ~= 'CastilloMarelen' ])
ifTrue: [ subcollection := self messages select: [ :each | each authorId = self id ]] ]
].
^ TweetsCollection new ^ TweetsCollection new
messages: subcollection; messages: subcollection;
yourself yourself