Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ctly
  • Loading branch information...
commit 6faab810349b6d44ad631d23f89d0c0cdeedd8e4 1 parent d7bd840
Julien Genestoux authored
View
4 build.xml
@@ -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
BIN  distrib/superfeedr.jar
Binary file not shown
View
2  src/org/superfeedr/Superfeedr.java
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.