1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00

Update service_manager.py

This commit is contained in:
Alexandr Topilski 2019-09-04 07:05:24 +03:00 committed by GitHub
parent a1edaa1ed6
commit a1617e16d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,4 +216,4 @@ class ServiceManager(IClientHandler):
def send_message(self, email: str, message: str, ttl: int):
for user in self._subscribers:
if user.info and user.info.email == email:
user.send_message(message, ttl * 1000)
user.send_message(user.gen_request_id(), message, ttl * 1000)