TextChatService.OnBubbleAdded is triggered twice

I don’t know if it’s a bug or not, but I couldn’t find anything about it in the documentation.
The thing is that when a chat bubble appears above a player, 2 signals from TextChatService.OnBubbleAdded are triggered at once!

Hello and thank you for the report! Is this occurring for the client sending the message, or is this also occurring for clients receiving the message? It is expected that TextChatService.OnBubbleAdded gets triggered twice, but for the client sending the message. This is the same behavior that is seen with TextChatService.OnIncomingMessage:

When bound to the client sending a message, this callback is run twice; first when the message is initially sent and received locally, and again when the client receives the result of the filtered message from the server.

This is not included in the documentation for this callback so I’ll be sure to get this updated.

If this is happening to clients receiving the message, then that is a bug and we can take a look into that.

This happens to the client who sent the message.

Thanks for the answer, I already figured out how it works, just a little confused by the lack of it in the documentation.