Compare commits

..

No commits in common. "e85e38ddb7787589e683256549eb8e159117e072" and "c1a6d9a53a6b0f9f11cd01349e959bf20c8d41d0" have entirely different histories.

1 changed files with 0 additions and 7 deletions

View File

@ -887,9 +887,6 @@ class GatewayWebsocket:
# they CAN NOT enter two channels in a single guild.
# this state id format takes care of that.
#
# TODO voice_key should have a type as a 0th element to prevent
# code from having to call get_guild(id2).
voice_key = (self.state.user_id, state_id2)
voice_state = await self.app.voice.get_state(voice_key)
@ -907,10 +904,6 @@ class GatewayWebsocket:
if same_guild and not same_channel:
return await self.app.voice.move_state(voice_state, channel_id)
# TODO: this is an edge case. we're trying to move guilds in
# a single message, perhaps?
log.warning("vsu payload does not appear logical")
async def _handle_5(self, payload: Dict[str, Any]):
"""Handle OP 5 Voice Server Ping.