Unauthorized Subject Change is handled by ChangeSubjectListener

A user is sending a message to a room, trying to change the subject of a room, where he not is authorized to perform this action.

The server responds with a error in line with the message as specified in XEP-0045, Example 87:


Fire Burn and Cauldron Bubble!



The SubjectListener still picks this message up as being a Subject change, while the filter lacks a filter on Error.

I fixed this locally by the following fix:

GitHub - annovanvliet/Smack at fixSubjectChange

Is fixed in Smack 4.1.9