LeastAuthority/haskell-magic-wormhole

AppVersions

meejah opened this issue · 0 comments

meejah commented

There is no support for "application versions".

The code-comments indicate that the Python implementation will always send {"app_versions": {}} for the "Versions" message. While this is true for the file-transfer application, other users may send information in this field. It is open-ended JSON-encodable information, provided by application code.

For example, magic-folder invites will end up sending app-versions like this:

{
    "app_versions": {
        "magic-folder": {
            "supported-messages": [
                "invite-v1",
            ],
        },
    }
}