fix(signal): drop duplicate self in unconfigured-account log call

Addresses review feedback on HKUDS/nanobot#3852: self.self.logger.error
would crash if the phone_number guard ever fired.
This commit is contained in:
Kaloyan Tenchov 2026-05-16 11:01:10 -04:00 committed by chengyongru
parent 880097acd5
commit 08154b4374

View File

@ -276,7 +276,7 @@ class SignalChannel(BaseChannel):
async def start(self) -> None: async def start(self) -> None:
"""Start the Signal channel and connect to signal-cli daemon.""" """Start the Signal channel and connect to signal-cli daemon."""
if not self.config.phone_number: if not self.config.phone_number:
self.self.logger.error("Signal account not configured") self.logger.error("Signal account not configured")
return return
self._running = True self._running = True