From c7f4230a91d2d7bf7a449dc4ffc033a433b60e27 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 29 Dec 2021 15:04:17 +0000 Subject: [PATCH] Fix getting new messages --- handler/agora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/agora.py b/handler/agora.py index 46b21de..a89d153 100644 --- a/handler/agora.py +++ b/handler/agora.py @@ -149,7 +149,7 @@ class Agora(object): if send_irc: if reference in self.last_messages: if not len(self.last_messages[reference]) == len(messages_tmp): - difference = set(messages_tmp) ^ self.last_messages[reference] + difference = set(messages_tmp) ^ set(self.last_messages[reference]) for x in difference: self.irc.client.msg(self.irc.client.channel, f"AUTO {reference}: {x}") else: