kopia lustrzana https://github.com/jointakahe/takahe
do not retry unmute if mute never expires
rodzic
b031880e41
commit
354c09a76d
|
@ -37,7 +37,7 @@ class BlockStates(StateGraph):
|
|||
"""
|
||||
# Mutes don't send but might need expiry
|
||||
if instance.mute:
|
||||
return cls.awaiting_expiry
|
||||
return cls.awaiting_expiry if instance.expires else cls.sent
|
||||
# Remote blocks should not be here, local blocks just work
|
||||
if not instance.source.local or instance.target.local:
|
||||
return cls.sent
|
||||
|
|
Ładowanie…
Reference in New Issue