From 29c6deb6174c9d7f183d6ce09659bc1a740a1c83 Mon Sep 17 00:00:00 2001 From: ruidajo Date: Mon, 18 Apr 2022 18:52:56 -0500 Subject: [PATCH] Creating quotes filtering for nitter user messages. --- Socialmetrica.package/NitterUser.class/instance/quotes.st | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Socialmetrica.package/NitterUser.class/instance/quotes.st diff --git a/Socialmetrica.package/NitterUser.class/instance/quotes.st b/Socialmetrica.package/NitterUser.class/instance/quotes.st new file mode 100644 index 0000000..c41c3a8 --- /dev/null +++ b/Socialmetrica.package/NitterUser.class/instance/quotes.st @@ -0,0 +1,7 @@ +accessing +quotes + + self messages ifEmpty: [ self getMessages ]. + ^ TweetsCollection new + messages: (self messages messages select: [ :each | (each metadata at: 'quote') isNotEmpty ]); + yourself \ No newline at end of file