mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-21 09:02:32 +00:00
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:
parent
880097acd5
commit
08154b4374
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user