fix: add calls to self

This commit is contained in:
2026-04-14 13:27:21 +02:00
parent 6f518f571b
commit 5b59e85f8e

View File

@@ -36,7 +36,7 @@ class CallManager:
response = s.recv(1024)
print("Call notice sent", "response=", response.decode())
s.close()
undeaf_mumble()
self.undeaf_mumble()
self.state = OUTGOING_CALL
self.station = station
station["red"].on()
@@ -45,7 +45,7 @@ class CallManager:
station["green"].off()
def incoming_call(self, station):
undeaf_mumble()
self.undeaf_mumble()
self.state = INCOMING_CALL
self.station = station
station["red"].on()
@@ -54,7 +54,7 @@ class CallManager:
print("Hang! self.station", self.station)
if self.station is not None:
self.station["red"].off()
deaf_mumble()
self.deaf_mumble()
self.state = NO_CALL
self.station = None