2fbee75453
Currently supports backfilling one room at a time and backfills everything after the last bridged message.
16 lines
340 B
Python
16 lines
340 B
Python
from typing import Union
|
|
from .base import BasePortal
|
|
from .matrix import PortalMatrix
|
|
from .metadata import PortalMetadata
|
|
from .telegram import PortalTelegram
|
|
from ..context import Context
|
|
|
|
Portal = Union[BasePortal, PortalMatrix, PortalMetadata, PortalTelegram]
|
|
|
|
|
|
def init(context: Context) -> None:
|
|
pass
|
|
|
|
|
|
__all__ = ["Portal", "init"]
|