mirror of https://gitlab.com/bashrc2/epicyon
Remove prefix from webfinger aliases
parent
fc3112b878
commit
3bf910a9d4
|
@ -290,6 +290,9 @@ def _webfingerUpdateFromProfile(wfJson: {}, actorJson: {}) -> bool:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
newValue = propertyValue['value'].strip()
|
newValue = propertyValue['value'].strip()
|
||||||
|
if '://' in newValue:
|
||||||
|
newValue = newValue.split('://')[1]
|
||||||
|
|
||||||
aliasIndex = 0
|
aliasIndex = 0
|
||||||
found = False
|
found = False
|
||||||
for alias in wfJson['aliases']:
|
for alias in wfJson['aliases']:
|
||||||
|
|
Loading…
Reference in New Issue