                             data-type]
              to            (get-in contacts [chat-id :address])
              jail-params   {:parameters params
-                            :context (generate-context db chat-id to)}] 
-         {:chat-fx/call-jail {:jail-id jail-id
-                              :path path
-                              :params jail-params
+                            :context (generate-context db chat-id to group-id)}]
+         {:chat-fx/call-jail {:jail-id                 jail-id
+                              :path                    path
+                              :params                  jail-params
                               :callback-events-creator (fn [jail-response]
                                                          [[::jail-command-data-response
                                                            jail-response message data-type]])}})

 [trim-v]
 (fn [{:keys [db]}
      [{{:keys [command content-command params type]} :content
        :keys [chat-id jail-id] :as message}
       data-type]]
   (let [{:keys [chats]
          :accounts/keys [current-account-id]
          :contacts/keys [contacts]} db
         jail-id (or jail-id chat-id)

            [status-im.data-store.messages :as msg-store]
            [status-im.utils.handlers :refer [register-handler-fx]]
            [status-im.components.status :as status]
            [status-im.i18n :as i18n]
            [status-im.utils.platform :as platform]))

