diff --git a/documentation/processing.html b/documentation/processing.html index 2a4ebb38b..9534a6b31 100644 --- a/documentation/processing.html +++ b/documentation/processing.html @@ -40,7 +40,7 @@ listener:
// Create a packet filter to listen for new messages from a particular // user. We use an AndFilter to combine two other filters. -PacketFilter filter = new AndFilter(new PacketTypeTypeFilter(Message.class), +PacketFilter filter = new AndFilter(new PacketTypeFilter(Message.class), new FromContainsFilter("mary@jivesoftware.com")); // Assume we've created an XMPPConnection name "connection".