mirror of https://gitlab.com/litecord/litecord.git
pubsub.channel: add flags to ChannelDispatcher
This commit is contained in:
parent
4c29575b2c
commit
29d13c53b8
|
|
@ -48,7 +48,7 @@ def gdm_recipient_view(orig: dict, user_id: int) -> dict:
|
|||
return data
|
||||
|
||||
|
||||
class ChannelDispatcher(DispatcherWithState):
|
||||
class ChannelDispatcher(DispatcherWithFlags):
|
||||
"""Main channel Pub/Sub logic."""
|
||||
KEY_TYPE = int
|
||||
VAL_TYPE = int
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
"""
|
||||
|
||||
from typing import Any
|
||||
from collections import defaultdict
|
||||
|
||||
from logbook import Logger
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue