Project

General

Profile

not able to customize presence stanza in MucComponent.java in ProcessPacket method

Anant Goswami
Added almost 4 years ago

I am implementing group message in my application. but when user closes spark window then spark client sends presence stanza with type=unavailable. now I detected that stanza and want to set presence type from unavailable to available but when i do so, test case get failed and because of that test cases gets failed my entire build gets failed.

Can anyone help me to solve this problem.

Thank you in advanced...!!!!!


Replies (3)

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Well, tests verify MUC component processing stanzas according to standard and you are virtually breaking it so the tests fails. If you want non-standard processing then remove tests that would fail. I would also suggest modifying PresenceModule instead of MUCCOmponent.

Added by Anant Goswami almost 4 years ago

How can i remove test cases for presence handling ?

Where can i find that test cases ?

Added by Anant Goswami almost 4 years ago

Anant Goswami wrote:

How can i remove test cases for presence handling ?

Where can i find that test cases ?

Okay i got it how to remove test cases. Thank you so much for response

    (1-3/3)