I have modified Message class in openfire by adding additional types in Type enum, Will this cause any problem?

To address my business requirements i have to send different types of Messages. I have done this my modifying the message class in “tinder.jar”. Earlier there were only normal, chat, groupchat, headline and error. I have added 3 more types in Type ENUM and updated the message class in tinder.jar file.

Will this cause any issues in my openfire’s message sending functionality?

Will this cause any issues in my openfire’s message sending functionality?
Not sure, but you definitely should not do that. See also XEP-0134: XMPP Design Guidelines

Basically instead of

<message type=‘mytype’…>

you want

<message type=‘normal’…>

Where type=‘normal’ can also be any other type which message routing semantics suit your use-case.

1 Like

How can i add this “” ?

When i use addPacketExtension(“type”,“mytype”);

it adds this way “”;

Please suggest.