mirror of https://gitlab.com/bashrc2/epicyon
Ricochet address within profile
parent
d769a34e97
commit
9363ca12ec
|
|
@ -1789,8 +1789,8 @@ def _profile_post_ricochet_address(fields: {}, actor_json: {},
|
|||
current_ricochet_address = get_ricochet_address(actor_json)
|
||||
if fields.get('ricochetAddress'):
|
||||
if fields['ricochetAddress'] != current_ricochet_address:
|
||||
set_briar_address(actor_json,
|
||||
fields['ricochetAddress'])
|
||||
set_ricochet_address(actor_json,
|
||||
fields['ricochetAddress'])
|
||||
actor_changed = True
|
||||
else:
|
||||
if current_ricochet_address:
|
||||
|
|
|
|||
|
|
@ -85,6 +85,8 @@ def set_ricochet_address(actor_json: {}, ricochet_address: str) -> None:
|
|||
not_ricochet_address = True
|
||||
if '<' in ricochet_address:
|
||||
not_ricochet_address = True
|
||||
if '(' in ricochet_address:
|
||||
not_ricochet_address = True
|
||||
|
||||
if not actor_json.get('attachment'):
|
||||
actor_json['attachment']: list[dict] = []
|
||||
|
|
|
|||
Loading…
Reference in New Issue