This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-06-15 18:29:26 -05:00
commit 6f821dfe53

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