Merge pull request 'detach-recovery' (#1) from detach-recovery into master

Reviewed-on: https://code.tupale.co/Offray/Socialmetrica/pulls/1
This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-04-08 11:24:42 -05:00
commit e8f9e1ddd9
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
accessing
id
^ id ifNil: [ id := (self profileImageUrl segments detect: [ :each | each isAllDigits ]) ]
^ id ifNil: [ id := (self profileImageUrl asUrl segments select: [ :each | each isAllDigits ]) first.]

View File

@ -1,4 +1,4 @@
accessing
profileImageUrl
^ profileImageUrl ifNil: [
profileImageUrl := ((self rssFeed xmlDocument xpath: '//image/url') stringValue copyReplaceAll: '%2F' with: '/') asUrl ]
profileImageUrl := ((self rssFeed xmlDocument xpath: '//image/url') stringValue copyReplaceAll: '%2F' with: '/') ]