mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-26 22:12:05 +01:00
Updated to be able to compile. :(
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6288 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
5658fb705a
commit
58a3b60570
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ import org.jivesoftware.smack.packet.Packet;
|
||||||
import org.jivesoftware.smack.packet.Presence;
|
import org.jivesoftware.smack.packet.Presence;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The single <code>PacketListener</code> used by each {@link MultiplexedMultiUserChat}
|
* The single <code>PacketListener</code> used by each {@link MultiUserChat}
|
||||||
* for all basic processing of presence, and message packets targeted to that chat.
|
* for all basic processing of presence, and message packets targeted to that chat.
|
||||||
*
|
*
|
||||||
* @author Larry Kirschner
|
* @author Larry Kirschner
|
||||||
|
@ -38,7 +38,7 @@ import org.jivesoftware.smack.packet.Presence;
|
||||||
class PacketMultiplexListener implements PacketListener {
|
class PacketMultiplexListener implements PacketListener {
|
||||||
|
|
||||||
private static final PacketFilter MESSAGE_FILTER =
|
private static final PacketFilter MESSAGE_FILTER =
|
||||||
new MessageTypeFilter(Message.Type.GROUP_CHAT);
|
new MessageTypeFilter(Message.Type.groupchat);
|
||||||
private static final PacketFilter PRESENCE_FILTER = new PacketTypeFilter(Presence.class);
|
private static final PacketFilter PRESENCE_FILTER = new PacketTypeFilter(Presence.class);
|
||||||
private static final PacketFilter SUBJECT_FILTER = new PacketFilter() {
|
private static final PacketFilter SUBJECT_FILTER = new PacketFilter() {
|
||||||
public boolean accept(Packet packet) {
|
public boolean accept(Packet packet) {
|
||||||
|
|
Loading…
Reference in a new issue