Permalink
Browse files

fixing the error which lead the notifications to not be treated corre…

…ctly
  • Loading branch information...
Julien Genestoux
Julien Genestoux committed Nov 4, 2009
1 parent d7bd840 commit 6faab810349b6d44ad631d23f89d0c0cdeedd8e4
Showing with 3 additions and 3 deletions.
  1. +2 −2 build.xml
  2. BIN distrib/superfeedr.jar
  3. +1 −1 src/org/superfeedr/Superfeedr.java
View
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<project basedir="." default="build" name="Superfeedr">
+<project basedir="." default="jar" name="Superfeedr">
<property name="build" value="${basedir}/build" />
<property name="distrib" value="${basedir}/distrib" />
@@ -9,7 +9,7 @@
<target name="cleanup">
<delete dir="${build}"/>
<mkdir dir="${build}"/>
- <delete file="${distrib}}/superfeedr.jar"/>
+ <delete file="${distrib}/superfeedr.jar"/>
</target>
<target name="build" depends="cleanup">
View
Binary file not shown.
@@ -120,7 +120,7 @@ public Superfeedr(final String jid, final String password, final String server)
connection.connect();
connection.login(this.jid, password);
- connection.addPacketListener(new SuperFeedrPacketListener(), new OrFilter(new AndFilter(new PacketTypeFilter(Message.class), new OrFilter(new IQTypeFilter(IQ.Type.ERROR), new IQTypeFilter(IQ.Type.RESULT))), new PacketTypeFilter(IQ.class)));
+ connection.addPacketListener(new SuperFeedrPacketListener(), new OrFilter(new PacketTypeFilter(Message.class), new PacketTypeFilter(IQ.class)));
} catch (XMPPException e) {
if (connection != null && connection.isConnected()) {
connection.disconnect();

0 comments on commit 6faab81

Please sign in to comment.