This commit is contained in:
Luna 2020-02-26 13:58:58 -03:00
parent 6653dbf4d5
commit b015cce7a9
1 changed files with 1 additions and 1 deletions

View File

@ -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)