Skip to content

Commit

Permalink
feat(plugin-conversation): add support for posting messages
Browse files Browse the repository at this point in the history
Relates to #63
  • Loading branch information
ianwremmel committed Sep 16, 2016
1 parent 14ed4ee commit 61e71d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-conversation/package.json
Expand Up @@ -2,7 +2,7 @@
"name": "@ciscospark/plugin-conversation",
"version": "0.7.0",
"description": "",
"main": "dist/index.js",
"main": "src/index.js",
"devMain": "src/index.js",
"author": "Ian W. Remmel <iremmel@cisco.com>",
"license": "(Apache-2.0)",
Expand Down
3 changes: 1 addition & 2 deletions packages/plugin-conversation/src/conversation.js
Expand Up @@ -183,10 +183,9 @@ const Conversation = SparkPlugin.extend({
},

prepareConversation(conversation) {
const c = defaults(pick(conversation, `id`, `url`, `objectType`, `kmsResourceObjectUrl`, `defaultActivityEncryptionKeyUrl`), {
return defaults(pick(conversation, `id`, `url`, `objectType`), {
objectType: `conversation`
});
return c;
},

prepare(activity, params) {
Expand Down

0 comments on commit 61e71d0

Please sign in to comment.