subscription: fix unsubscrbe

This commit is contained in:
Jacob Plaster
2019-01-04 16:37:00 +00:00
parent d5dcf3cf80
commit a22d43a0e0
4 changed files with 7 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ class SubscriptionManager:
This function is mostly used to force the channel to produce a fresh snapshot.
"""
sub = self.subscriptions_chanid[chan_d]
sub = self.subscriptions_chanid[chan_id]
async def re_sub():
await sub.subscribe()