Skip to content

Conversation

@avp1598
Copy link
Contributor

@avp1598 avp1598 commented Jul 18, 2025

No description provided.

const xmptEnsName = this.runtime.getSetting('XMTP_ENS_NAME')
if (xmptEnsName && text.includes(xmptEnsName)) {
const xmptEnsName = z.string().parse(this.runtime.getSetting('XMTP_ENS_NAME'))
if (xmptEnsName && text.includes(xmptEnsName.toLowerCase())) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

U should also lowercase "text"

const xmptEnsName = this.runtime.getSetting('XMTP_ENS_NAME')
if (xmptEnsName && text.includes(xmptEnsName)) {
const xmptEnsName = z.string().parse(this.runtime.getSetting('XMTP_ENS_NAME'))
if (xmptEnsName && text.includes(xmptEnsName.toLowerCase())) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

U should also lowercase "text"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

text was already lowercase thats why it was not working, look at line 269

@hishboy hishboy merged commit b967cde into tribes-protocol:main Jul 18, 2025
1 check passed
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.

2 participants