aleph-im / aleph-sdk-python

Python SDK library for the Aleph.im network
MIT License
2 stars 4 forks source link

Watch messages does not use filters as expected #17

Closed MHHukiewitz closed 2 months ago

MHHukiewitz commented 1 year ago

Using watch_messages() like so:

    async for message in session.watch_messages(
        start_date=time.time(),
        message_type=MessageType.post,
        content_types=["Executions", "amend"],
        channels="FISHNET_TEST_V1",
    ):

results in all messages being received from the current https://api2.aleph.im, without any filters applied beside the start_date filter.

odesenfans commented 1 year ago

That's problematic. I think that's an issue with the message websocket iirc.