aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/chat/__init__.py
blob: cb2c868e0b1af6d7d9dfcd116da57c979d72ec5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""MeshBay Node — chat storage and relay.

Encryption is the client's: the node holds an epoch key it delivers to members
and never a plaintext message once a group has the switch on. See
`docs/chat-sender-keys.md`. It is not the Sender Keys ratchet this module's
docstring used to name — `senderkeys.py` is unused by production and is kept for
a possible future 1:1 DM, alongside `ratchet.py`.
"""
from .store import (
    FORMAT_PLAIN,
    FORMAT_SEALED_V1,
    ChatStore,
    ReplayedMessage,
    StoredMessage,
)

__all__ = ["ChatStore", "StoredMessage", "ReplayedMessage",
           "FORMAT_PLAIN", "FORMAT_SEALED_V1"]