Disable delivering chat history while joining a group (MUC) - Android

I’m using Smack v4.2.4 for Android. The issue is, when a user rejoins a group, all the chat histories are being delivered. Want to know how to disable this. I’m using the following code snippet for joining the group.

MucEnterConfiguration mec = muc.getEnterConfigurationBuilder(nickname).requestNoHistory().build();
muc.join(mec);

Above code doesn’t disable the history being delivered. A quick help is greatly appreciated.

Just a quick heads up. This smack is very old, the current stable release is 4.3.4. And I, unfortunately, do not have the resources to provide support for old versions as part of my spare time Smack work (maybe someone else has). But you definitely should consider upgrading to the current stable release of Smack.

This topic was automatically closed 62 days after the last reply. New replies are no longer allowed.