Giter Club home page Giter Club logo

Comments (7)

zicklag avatar zicklag commented on June 4, 2024 1

Ah, I found out the issue in my case. The user in question had a 32 character username, that was getting sent in addition to the #0 suffix for the Discord ID. This made the masquerade username length 34, which surpasses the 32 character limit set here:

https://github.com/revoltchat/backend/blob/49035f48178c452f59f0fe4cfd00ca924bd0272a/crates/quark/src/models/channels/message.rs#L87

I think the bridge could safely truncate usernames that are too long?

Edit: Nevermind, I just needed to update revcord, sorry for the noise.

from revcord.

mayudev avatar mayudev commented on June 4, 2024

@raymand211092 it seems the logs contained the bot's token. ive deleted it, but i suggest you regenerate it since someone could use it to get into your server.

Anyway, it seems there are some validation rules on revolt that aren't checked on revcords side, so I think it would be a good idea to implement those

from revcord.

zicklag avatar zicklag commented on June 4, 2024

I just found yesterday that a one particular user's messages from Discord keep won't go through to Revolt, and just keep returning 400 errors.

Let me know if there's anything I can do to help or if you've got any tips or ideas of what's causing it and how I might be able to work around.

Interestingly it's only happening with the one user, and the rest, so far, seem to be working fine.

from revcord.

mayudev avatar mayudev commented on June 4, 2024

Should be fixed by #22

from revcord.

MattTheTekie avatar MattTheTekie commented on June 4, 2024

@mayudev I'm having a issue where sending a spotify link only from the revolt side crashes the bot. https://open.spotify.com/track/0uMd4X8y6FyCjgQpONwoVa?si=2f27f94209ed43c9

from revcord.

mayudev avatar mayudev commented on June 4, 2024

@mayudev I'm having a issue where sending a spotify link only from the revolt side crashes the bot. https://open.spotify.com/track/0uMd4X8y6FyCjgQpONwoVa?si=2f27f94209ed43c9

I can't seem to be able to reproduce this issue. Please make sure you're on the latest version

from revcord.

MattTheTekie avatar MattTheTekie commented on June 4, 2024

@mayudev I'm having a issue where sending a spotify link only from the revolt side crashes the bot. https://open.spotify.com/track/0uMd4X8y6FyCjgQpONwoVa?si=2f27f94209ed43c9

I can't seem to be able to reproduce this issue. Please make sure you're on the latest version

I am on the latest version. It turns out it was due to VPS issues and the issue is no longer reproducible.

from revcord.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.