From 98d41485d4db5de0109907922b87524cb9e49176 Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Tue, 15 Jul 2003 04:07:30 +0000 Subject: [PATCH] Fix to create message filter correctly. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1985 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/Chat.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/org/jivesoftware/smack/Chat.java b/source/org/jivesoftware/smack/Chat.java index 9c91b7da4..5c3d63d67 100644 --- a/source/org/jivesoftware/smack/Chat.java +++ b/source/org/jivesoftware/smack/Chat.java @@ -121,7 +121,8 @@ public class Chat { this.participant = participant; this.chatID = chatID; - messageCollector = connection.createPacketCollector(new ThreadFilter(chatID)); + messageFilter = new ThreadFilter(chatID); + messageCollector = connection.createPacketCollector(messageFilter); } /**