Modifying tweets filtering for id change.
This commit is contained in:
parent
f9b7fdf6bb
commit
cee2682e7a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user