From 17b39ec4ad298e3310e3d21ee8064ea8762e4b27 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Thu, 7 Apr 2022 13:33:46 -0500 Subject: [PATCH] Fixing TwitterUser id detection. --- Socialmetrica.package/NitterUser.class/instance/id.st | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Socialmetrica.package/NitterUser.class/instance/id.st b/Socialmetrica.package/NitterUser.class/instance/id.st index 6db6025..30d492e 100644 --- a/Socialmetrica.package/NitterUser.class/instance/id.st +++ b/Socialmetrica.package/NitterUser.class/instance/id.st @@ -1,3 +1,3 @@ accessing id - ^ id ifNil: [id := (self profileImageUrl segments select: [ :each | each asInteger class = LargePositiveInteger]) first.] \ No newline at end of file + ^ id ifNil: [ id := (self profileImageUrl segments detect: [ :each | each isAllDigits ]) ] \ No newline at end of file