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:55:57 -06:00
parent 51ab9bf575
commit 1464b23d8c
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 [sender] + message.recipients) :
if self.respond_to_self and (self.respond_to_self in list(set([sender] + message.recipients))) :
return True
else :
return False