Fixed typo
All checks were successful
git.cronocide.net/bluebubbles-bot/pipeline/head This commit looks good

This commit is contained in:
Daniel Dayley 2023-05-15 16:50:53 -06:00
parent 4b3bff5afd
commit 51ab9bf575
Signed by: Cronocide
GPG Key ID: 2CB7D4B8DEB3198E

View File

@ -82,7 +82,7 @@ class PersonaSkill(PersonaBaseSkill) :
self.enabled_chats.remove(message.chat_identifier)
return False
if message.meta['isFromMe'] :
if self.respond_to_self and (self.respond_to_self in [message.sender] + message.recipients) :
if self.respond_to_self and (self.respond_to_self in [sender] + message.recipients) :
return True
else :
return False