Merge pull request #3715 from FinnStutzenstein/projectorDisconnect

Remove projector from projector-all
This commit is contained in:
Emanuel Schütze 2018-04-24 11:33:33 +02:00 committed by GitHub
commit 024cf6c1b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,6 +244,7 @@ def ws_disconnect_projector(message: Any, projector_id: int) -> None:
This function is called, when a client on the projector disconnects. This function is called, when a client on the projector disconnects.
""" """
Group('projector-{}'.format(projector_id)).discard(message.reply_channel) Group('projector-{}'.format(projector_id)).discard(message.reply_channel)
Group('projector-all').discard(message.reply_channel)
def send_data_projector(message: ChannelMessageFormat) -> None: def send_data_projector(message: ChannelMessageFormat) -> None: