diff --git a/protocol/src/cljs/syng_im/protocol/handler.cljs b/protocol/src/cljs/syng_im/protocol/handler.cljs index 6fefc23..fe87b96 100644 --- a/protocol/src/cljs/syng_im/protocol/handler.cljs +++ b/protocol/src/cljs/syng_im/protocol/handler.cljs @@ -59,7 +59,7 @@ (declare handle-incoming-whisper-msg) -(defn handle-new-group-chat [web3 from {:keys [group-topic keypair identities msg-id]}] +(defn handle-new-group-chat [web3 from {:keys [group-topic keypair identities msg-id group-name]}] (send-ack web3 from msg-id {:group-invite group-topic}) (let [store (storage)] (when-not (chat-exists? store group-topic) @@ -69,7 +69,8 @@ (save-group-admin store group-topic from) (invoke-user-handler :new-group-chat {:from from :identities identities - :group-id group-topic})))) + :group-id group-topic + :group-name group-name})))) (defn decrypt-group-msg [group-topic encrypted-payload] (let [store (storage)]