Import/Export Group #39

Merge aplicado
dan aplicou merge dos 1 commits de export em master 2018-06-09 16:54:57 +00:00
Proprietário

This code imports/exports a group via a string. I have a test application called cwtchbot which can accept the string produced by the cli app and connect to the group to download new messages.

    cwtchbot torv2ixljxp35os3zpww6tX65gjEkeT1GsW3WL5XyXdEYL+bUwXObfydaGeoabuM=EpgBCiBlODNlZmE1NzJjZTc4MmQ5NDQzMjkxNDkxNDc5NTMxORIgB+D0KL+FPH9Urn2vDI6Ll31sce/vwpf8/MPtYxF/+bcaEGZtdmhjZjNraHRuNWQ0dzUiQIjQHzHsVbZYNsbD4scxdRPz1mR9mqC6iCprMpWellly2i2WY3yxRHBfrYj/+TXPyGJ60bp6rTovG3buhDdC+gw=
2018/06/09 00:46:20 Imported Group e83efa572ce782d94432914914795319 1
New Message: Hello
New Message: Another message for cwtchbot

I'll push cwtchbot to a new repo once I have a basic framework in place, but my main goal is to start building some simple apps on top of cwtch to test the current APIs

This code imports/exports a group via a string. I have a test application called `cwtchbot` which can accept the string produced by the cli app and connect to the group to download new messages. cwtchbot torv2ixljxp35os3zpww6tX65gjEkeT1GsW3WL5XyXdEYL+bUwXObfydaGeoabuM=EpgBCiBlODNlZmE1NzJjZTc4MmQ5NDQzMjkxNDkxNDc5NTMxORIgB+D0KL+FPH9Urn2vDI6Ll31sce/vwpf8/MPtYxF/+bcaEGZtdmhjZjNraHRuNWQ0dzUiQIjQHzHsVbZYNsbD4scxdRPz1mR9mqC6iCprMpWellly2i2WY3yxRHBfrYj/+TXPyGJ60bp6rTovG3buhDdC+gw= 2018/06/09 00:46:20 Imported Group e83efa572ce782d94432914914795319 1 New Message: Hello New Message: Another message for cwtchbot I'll push cwtchbot to a new repo once I have a basic framework in place, but my main goal is to start building some simple apps on top of cwtch to test the current APIs
Proprietário

Do we want to encrypt the output at all? these are a little dangerous, unencrypted persistable group invites?

Do we want to encrypt the output at all? these are a little dangerous, unencrypted persistable group invites?
dan fechou este pull request 2018-06-09 16:54:57 +00:00
Autor
Proprietário

I think of this like an "application token" and not an invite - it's not something we would expose to most users, but for developers making stuff to interact with a specific group.

I think of this like an "application token" and not an invite - it's not something we would expose to most users, but for developers making stuff to interact with a specific group.
Proprietário

Comments and naming then :P

Comments and naming then :P
Acesse para participar desta conversação.
Sem revisor
Sem marco
Sem responsável
2 participante(s)
Notificações
Data limite
A data limite é inválida ou está fora do intervalo. Por favor, use o formato 'dd/mm/aaaa'.

Data limite não informada.

Dependências

Nenhuma dependência definida.

Referência: cwtch.im/cwtch#39
Nenhuma descrição fornecida.