mirror of https://gitlab.com/bashrc2/epicyon
Exctra checks for moved actor
parent
5f1a062f8f
commit
049f3f7e09
10
daemon.py
10
daemon.py
|
@ -3008,9 +3008,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
options_actor = options_actor.split('&')[0]
|
||||
|
||||
# actor for the movedTo
|
||||
options_actor_moved = options_confirm_params.split('movedToActor=')[1]
|
||||
if '&' in options_actor_moved:
|
||||
options_actor_moved = options_actor_moved.split('&')[0]
|
||||
options_actor_moved = None
|
||||
if 'movedToActor=' in options_confirm_params:
|
||||
options_actor_moved = options_confirm_params.split('movedToActor=')[1]
|
||||
if '&' in options_actor_moved:
|
||||
options_actor_moved = options_actor_moved.split('&')[0]
|
||||
|
||||
# url of the avatar
|
||||
options_avatar_url = options_confirm_params.split('avatarUrl=')[1]
|
||||
|
@ -3421,7 +3423,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
|
||||
# person options screen, move button
|
||||
# See html_person_options followStr
|
||||
if '&submitMove=' in options_confirm_params:
|
||||
if '&submitMove=' in options_confirm_params and options_actor_moved:
|
||||
if debug:
|
||||
print('Moving ' + options_actor_moved)
|
||||
msg = \
|
||||
|
|
Loading…
Reference in New Issue