From cee2682e7ab9c37c0760859bc75507319fd2cb91 Mon Sep 17 00:00:00 2001 From: ruidajo Date: Sat, 21 May 2022 22:15:14 -0500 Subject: [PATCH] Modifying tweets filtering for id change. --- Socialmetrica.package/NitterUser.class/instance/tweets.st | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Socialmetrica.package/NitterUser.class/instance/tweets.st b/Socialmetrica.package/NitterUser.class/instance/tweets.st index d66d2b0..b6b1680 100644 --- a/Socialmetrica.package/NitterUser.class/instance/tweets.st +++ b/Socialmetrica.package/NitterUser.class/instance/tweets.st @@ -18,9 +18,13 @@ tweets subcollection := self messages 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' ]) - ifTrue: [ self userName ~= 'IBetancourtCol' ifTrue: - [ subcollection := self messages select: [ :each | each authorId = self id ]] + ifTrue: [ (self userName ~= 'IBetancourtCol' and: [ self userName ~= 'sergio_fajardo' ]) ifTrue: [ subcollection := self messages select: [ :each | each authorId = self id ]] ]. ^ TweetsCollection new messages: subcollection;