mirror of https://gitlab.com/litecord/litecord.git
fix typo
This commit is contained in:
parent
6653dbf4d5
commit
b015cce7a9
|
|
@ -137,7 +137,7 @@ async def _dm_pre_dispatch(channel_id, peer_id):
|
||||||
|
|
||||||
# dispatch CHANNEL_CREATE so the client knows which
|
# dispatch CHANNEL_CREATE so the client knows which
|
||||||
# channel the future event is about
|
# 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
|
# subscribe the peer to the channel
|
||||||
await app.dispatcher.channel.sub(channel_id, peer_id)
|
await app.dispatcher.channel.sub(channel_id, peer_id)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue