randydev commited on
Commit
918bd1b
·
verified ·
1 Parent(s): 3181c05
Files changed (1) hide show
  1. akn/clientmulti_bot.py +3 -2
akn/clientmulti_bot.py CHANGED
@@ -527,10 +527,11 @@ async def _handle_dead_session(user_id: int, error: Exception) -> None:
527
  },
528
  {
529
  "$set": {
530
- "user_client.$.is_active": False
 
531
  },
532
  "$unset": {
533
- "user_client.$.session_string": ""
534
  }
535
  }
536
  )
 
527
  },
528
  {
529
  "$set": {
530
+ "user_client.$.is_active": False,
531
+ "user_client.$.status": "stopped"
532
  },
533
  "$unset": {
534
+ "user_client.$.session_string": None
535
  }
536
  }
537
  )