From a82ae41c22f041c01cd40a9ef6b1918bc2afee3c Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 29 Jun 2022 09:31:08 +0200 Subject: [PATCH 1/3] Smack 4.4.6 --- CHANGELOG.md | 7 +++++++ version | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf36d4182..93592bbc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Smack Changelog +# 4.4.6 -- 2022-06-29 + +### Bug + +- [SMACK-926](https://igniterealtime.atlassian.net/browse/SMACK-926) Memory-leak in ServiceDiscoveryManager +- [SMACK-925](https://igniterealtime.atlassian.net/browse/SMACK-925) MultiUserChat Presence interceptors do not intercept + # 4.4.5 -- 2022-03-02 ### Bug diff --git a/version b/version index abce3d04b..b98ff4c48 100644 --- a/version +++ b/version @@ -1 +1 @@ -4.4.6-SNAPSHOT +4.4.6 From 8c359eed16254a7ccdfd84d7479a54d369139f63 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 29 Jun 2022 10:18:40 +0200 Subject: [PATCH 2/3] Smack 4.4.7-SNAPSHOT --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index b98ff4c48..8ffe92088 100644 --- a/version +++ b/version @@ -1 +1 @@ -4.4.6 +4.4.7-SNAPSHOT From fbd576129681fe8eb75367c30470bba401801263 Mon Sep 17 00:00:00 2001 From: Andrey Volykhin Date: Tue, 30 Aug 2022 07:05:16 +0000 Subject: [PATCH 3/3] [muc] Fix removal of the MUC's main presence interceptor On dinamically remove the last existed presence interceptor we also should to remove the MUC's main presence interceptor from the connection. Fixes: 60fee7b ("[muc] Fix Presence interceptors") --- .../main/java/org/jivesoftware/smackx/muc/MultiUserChat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java index fb03b3b73..2bddb31e7 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java @@ -1133,7 +1133,7 @@ public class MultiUserChat { if (!removed) return; int currentCount = presenceInterceptorCount.decrementAndGet(); if (currentCount == 0) { - connection.removePresenceInterceptor(presenceInterceptor); + connection.removePresenceInterceptor(this.presenceInterceptor); } }