detach-recovery #1

Merged
Offray merged 3 commits from detach-recovery into master 2022-04-08 16:24:43 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit ba05b8d0bb - Show all commits

View File

@ -1,3 +1,3 @@
accessing
id
^ id ifNil: [id := (self profileImageUrl segments select: [ :each | each asInteger class = LargePositiveInteger]) first.]
^ 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: '/') ]