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

fix: fixed hardcoded msg for group rules in msg input #925

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: fixed hardcoded msg for group rules in msg input
KlausMikhaelson committed Dec 5, 2023
commit e7c08c54d363c715b54468b3a0e3dd1e8ddb6d7d
Original file line number Diff line number Diff line change
@@ -432,15 +432,9 @@ export const MessageInput: React.FC<MessageInputProps> = ({
{isJoinGroup() && 'Click on the button to join the group'}
{isNotVerified() && (
<>
Sending messages requires{' '}
<Span
color={theme.backgroundColor?.chatSentBubbleBackground}
>
1 PUSH Token
</Span>{' '}
for participation.{' '}
Sending messages requires to staisfy the group rules.{' '}
<Link
href="https://docs.push.org/developers/developer-tooling/push-sdk/sdk-packages-details/epnsproject-sdk-restapi/for-chat/group-chat#to-create-a-token-gated-group"
href="https://push.org/docs/chat/build/conditional-rules-for-group/"
target="_blank"
color={theme.backgroundColor?.chatSentBubbleBackground}
>