mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
ced75a7b3d
commit
f2917482db
6
inbox.py
6
inbox.py
|
@ -3082,7 +3082,8 @@ def _like_notify(base_dir: str, domain: str,
|
|||
print('_like_notify liker_handle: ' +
|
||||
str(liker_nickname) + '@' + str(liker_domain))
|
||||
liker_handle = actor
|
||||
if liker_handle != handle:
|
||||
if liker_handle == handle:
|
||||
return
|
||||
like_str = liker_handle + ' ' + url + '?likedBy=' + actor
|
||||
prev_like_file = account_dir + '/.prevLike'
|
||||
# was there a previous like notification?
|
||||
|
@ -3144,7 +3145,8 @@ def _reaction_notify(base_dir: str, domain: str, onion_domain: str,
|
|||
print('_reaction_notify reaction_handle: ' +
|
||||
str(reaction_nickname) + '@' + str(reaction_domain))
|
||||
reaction_handle = actor
|
||||
if reaction_handle != handle:
|
||||
if reaction_handle == handle:
|
||||
return
|
||||
reaction_str = \
|
||||
reaction_handle + ' ' + url + '?reactBy=' + actor + \
|
||||
';emoj=' + emoji_content
|
||||
|
|
Loading…
Reference in New Issue