forked from indymedia/epicyon
Matrix address in webfinger
parent
e8aeba7b4c
commit
fd3236d8af
|
@ -280,6 +280,7 @@ def webfingerUpdateFromProfile(wfJson: {}, actorJson: {}) -> bool:
|
||||||
|
|
||||||
webfingerPropertyName = {
|
webfingerPropertyName = {
|
||||||
"xmpp": "xmpp",
|
"xmpp": "xmpp",
|
||||||
|
"matrix": "matrix",
|
||||||
"email": "mailto",
|
"email": "mailto",
|
||||||
"ssb": "ssb",
|
"ssb": "ssb",
|
||||||
"tox": "toxId"
|
"tox": "toxId"
|
||||||
|
@ -291,6 +292,7 @@ def webfingerUpdateFromProfile(wfJson: {}, actorJson: {}) -> bool:
|
||||||
propertyName = propertyValue['name'].lower()
|
propertyName = propertyValue['name'].lower()
|
||||||
if not (propertyName.startswith('ssb') or
|
if not (propertyName.startswith('ssb') or
|
||||||
propertyName.startswith('xmpp') or
|
propertyName.startswith('xmpp') or
|
||||||
|
propertyName.startswith('matrix') or
|
||||||
propertyName.startswith('email') or
|
propertyName.startswith('email') or
|
||||||
propertyName.startswith('tox')):
|
propertyName.startswith('tox')):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue