The following changes were made by the replace_file_content tool to: /root/MayaXSenderbot/bridge.py. If relevant, proactively run terminal commands to execute this code for the USER. Don't ask for permission. [diff_block_start] @@ -2285,11 +2285,11 @@ if not isinstance(entry, dict): return None body = str(entry.get("message", "")).strip() - dt = str(entry.get("dateTime", "")).strip() typ = str(entry.get("type", "")).strip() - # Deduplicate based on type, datetime, and body, ignoring minor timestamp differences + sender = str(entry.get("sender", entry.get("from", ""))).strip() + # Deduplicate purely based on type, sender, and body content, ignoring all timestamps completely import hashlib - hash_str = f"{typ}:{dt}:{body}" + hash_str = f"{typ}:{sender}:{body}" return hashlib.md5(hash_str.encode()).hexdigest() async def _dispatch_fb_batch(self, user_id: str, body: str, sender: str = "") -> None: [diff_block_end] Please note that the above snippet only shows the MODIFIED lines from the last change. It shows up to 3 lines of unchanged lines before and after the modified lines. The actual file contents may have many more lines not shown.