Fixing a tp bug preventing channels from closing
[theonering] / src / connection.py
index a48ceb5..36624b3 100644 (file)
@@ -1,7 +1,6 @@
 
 """
 @todo Add params for different state machines update times
-@todo Add option to use screen name as callback
 @todo Get a callback for missed calls to force an update of the voicemail state machine
 @todo Get a callback on an incoming call and if its from GV, auto-pickup
 @todo Decide if we should do what the spec suggests and hold onto a singleton contactlist
@@ -52,19 +51,21 @@ class TheOneRingConnection(
        capabilities.CapabilitiesMixin,
 ):
 
-       # Overriding a base class variable
-       # Should the forwarding number be handled by the alias or by an option?
+       # overiding base class variable
        _mandatory_parameters = {
                'account' : 's',
                'password' : 's',
        }
-       # Overriding a base class variable
+       # overiding base class variable
        _optional_parameters = {
                'forward' : 's',
        }
        _parameter_defaults = {
                'forward' : '',
        }
+       _secret_parameters = set((
+               "password",
+       ))
 
        @gtk_toolbox.log_exception(_moduleLogger)
        def __init__(self, manager, parameters):