Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
715d54564f |
@@ -43,7 +43,7 @@ except ImportError:
|
||||
HTTPX_AVAILABLE = False
|
||||
httpx = None
|
||||
|
||||
from gateway.config import PlatformConfig
|
||||
from gateway.config import Platform, PlatformConfig
|
||||
from gateway.platforms.base import (
|
||||
BasePlatformAdapter,
|
||||
MessageEvent,
|
||||
@@ -118,8 +118,8 @@ class ZulipAdapter(BasePlatformAdapter):
|
||||
"""
|
||||
|
||||
def __init__(self, config: PlatformConfig):
|
||||
platform_name = "zulip"
|
||||
super().__init__(config=config, platform=platform_name)
|
||||
platform = Platform("zulip")
|
||||
super().__init__(config=config, platform=platform)
|
||||
|
||||
extra = config.extra or {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user