"""
raise NotImplementedError()
- @property
- def handle(self):
+ def Disconnect(self):
"""
@abstract
"""
- raise NotImplementedError("Abstract property called")
+ raise NotImplementedError("Abstract function called")
- def Disconnect(self):
+ def handle(self, handleType, handleId):
"""
@abstract
"""
if isDnd:
presence = TheOneRingPresence.HIDDEN
else:
- state = self.session.stateMachine.get_state()
+ state = self.session.stateMachine.state
if state == state_machine.StateMachine.STATE_ACTIVE:
presence = TheOneRingPresence.ONLINE
elif state == state_machine.StateMachine.STATE_IDLE: