From b015cce7a9275d4ca0700d0eaea525c6d7ded5c9 Mon Sep 17 00:00:00 2001 From: Luna Date: Wed, 26 Feb 2020 13:58:58 -0300 Subject: [PATCH] fix typo --- litecord/blueprints/channel/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litecord/blueprints/channel/messages.py b/litecord/blueprints/channel/messages.py index d54f986..78eebca 100644 --- a/litecord/blueprints/channel/messages.py +++ b/litecord/blueprints/channel/messages.py @@ -137,7 +137,7 @@ async def _dm_pre_dispatch(channel_id, peer_id): # dispatch CHANNEL_CREATE so the client knows which # channel the future event is about - await dispatch_user(peer_id, "CHANNEL_CREATE", dm_chan) + await dispatch_user(peer_id, ("CHANNEL_CREATE", dm_chan)) # subscribe the peer to the channel await app.dispatcher.channel.sub(channel_id, peer_id)