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(chat): Correctly limit editing to bots IN 1-1 #14361

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Feb 12, 2025

Noticed on the backport to 29 that I forgot the "IN one-to-one" part.

@nickvergessen
Copy link
Member Author

/backport to stable31

@nickvergessen
Copy link
Member Author

/backport to stable30

Comment on lines +64 to +65
&& (conversation.value.type === CONVERSATION.TYPE.ONE_TO_ONE
|| conversation.value.type === CONVERSATION.TYPE.ONE_TO_ONE_FORMER)
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be better to maintain

Suggested change
&& (conversation.value.type === CONVERSATION.TYPE.ONE_TO_ONE
|| conversation.value.type === CONVERSATION.TYPE.ONE_TO_ONE_FORMER)
&& isOneToOneConversation.value

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't find it

@nickvergessen nickvergessen merged commit 3545a54 into main Feb 12, 2025
53 checks passed
@nickvergessen nickvergessen deleted the bugfix/noid/edit-bots-in-1-1 branch February 12, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants