Modifying tweets filtering for id change.

This commit is contained in:
ruidajo 2022-05-21 22:15:14 -05:00
parent f9b7fdf6bb
commit cee2682e7a

View File

@ -18,9 +18,13 @@ tweets
subcollection := self messages subcollection := self messages
select: [ :each | (each authorId = '1517487571135344643') or: [ each authorId = self id ] ] select: [ :each | (each authorId = '1517487571135344643') or: [ each authorId = self id ] ]
]. ].
self userName = 'sergio_fajardo'
ifTrue: [
subcollection := self messages
select: [ :each | (each authorId = '1509644668300058633') or: [ each authorId = self id ] ]
].
(self userName ~= 'FranciaMarquezM' and: [ self userName ~= 'sandralajas' ]) (self userName ~= 'FranciaMarquezM' and: [ self userName ~= 'sandralajas' ])
ifTrue: [ self userName ~= 'IBetancourtCol' ifTrue: ifTrue: [ (self userName ~= 'IBetancourtCol' and: [ self userName ~= 'sergio_fajardo' ]) ifTrue: [ subcollection := self messages select: [ :each | each authorId = self id ]]
[ subcollection := self messages select: [ :each | each authorId = self id ]]
]. ].
^ TweetsCollection new ^ TweetsCollection new
messages: subcollection; messages: subcollection;