Closed richsilv closed 8 years ago
@richsilv pls merge master
Done @olizilla
@alanshaw did you add a magic bean for stripping@
if present in the csv import pr?
Would be good to reuse that logic here.
I did - https://github.com/Medialist/medialist-app/tree/master/packages/twitter-screen-name
Use twitterScreenName(str)
to get back the screen name without @. If you give it a twitter URL it'll do the same.
Updated to use the @alanshaw module
Requires #244 Fixes #181
Note that a more permanent (i.e. better) solution will become possible once we've implemented a solution for #161 and we're updating the contact's details as a whole rather than line-by-line (in which case we have to work out which line it is and whether we should be stripping the @).