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