1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 21:42:07 +01:00

[muc] Switch away from deprecated DefaultUserStatusListener in mucDestroyTest()

This commit is contained in:
Florian Schmaus 2024-05-20 23:08:23 +02:00
parent c5e3f89e21
commit 35f621be05

View file

@ -101,8 +101,7 @@ public class MultiUserChatIntegrationTest extends AbstractMultiUserChatIntegrati
final SimpleResultSyncPoint mucDestroyed = new SimpleResultSyncPoint(); final SimpleResultSyncPoint mucDestroyed = new SimpleResultSyncPoint();
@SuppressWarnings("deprecation") UserStatusListener userStatusListener = new UserStatusListener() {
DefaultUserStatusListener userStatusListener = new DefaultUserStatusListener() {
@Override @Override
public void roomDestroyed(MultiUserChat alternateMUC, String reason) { public void roomDestroyed(MultiUserChat alternateMUC, String reason) {
mucDestroyed.signal(); mucDestroyed.signal();