Explorar el Código

channel callback

Hal De hace 4 años
padre
commit
11f72b8bec
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/app.py

+ 2 - 2
app/app.py

@@ -163,8 +163,8 @@ async def presenceStatusCallback(mngr: Manager, msg: Message):
     if combinedState != prevState:
       await userStateChangeCallback(user, combinedState, prevState)
 
-@manager.register_event('Newstate')
-async def newstateCallback(mngr: Manager, msg: Message):
+@manager.register_event('Newchannel')
+async def newchannelCallback(mngr: Manager, msg: Message):
   app.logger.warning(pformat(msg))
 
 async def getCDR(start=None,