Import/Export Group #39

已合并
dan 2018-06-09 16:54:57 +00:00 将 1 次代码提交从 export 合并至 master
管理员

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
登录 并参与到对话中。
没有提供说明。