Import/Export Group #39

已合併
dan 將 1 次提交從 export 合併至 master 2018-06-09 16:54:57 +00:00
擁有者

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
擁有者

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 關閉了這個合併請求 2018-06-09 16:54:57 +00:00
作者
擁有者

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.
擁有者

Comments and naming then :P

Comments and naming then :P
登入 才能加入這對話。
No description provided.