Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] Client Side Bot Messages #823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lucasavila00
Copy link

Description

Issue

#822

Screenshots

For frontend updates, please include a screenshot.

Checklist

  • Everything passes when running mix test
  • Ran mix format
  • No frontend compilation warnings

@@ -37,7 +37,7 @@ import {LITE_PRICE, STARTER_PRICE, TEAM_PRICE} from '../../constants';
import {env} from '../../config';
import './Billing.css';

const stripe = loadStripe(env.REACT_APP_STRIPE_PUBLIC_KEY);
const stripe = loadStripe('undefined');
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was crashing the app

it should be fixed before removing the draft tag

@@ -161,4 +190,8 @@ defmodule ChatApiWeb.ConversationChannel do
_ -> false
end
end

defp user_id_of_signature(_signature) do
1
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should receive the message, signature and validate it

if valid, return an user_id so that the message looks like it's from an agent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant