mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-14 06:51:08 +01:00
Add FlexiblePacketTypeFilter
and make constructors of MessageTypeFilter and IQTypeFilter private, because we now provide constants instead.
This commit is contained in:
parent
c606530e22
commit
2a091debc1
18 changed files with 114 additions and 73 deletions
|
|
@ -89,7 +89,7 @@ public class FileTransferManager {
|
|||
fireNewRequest((StreamInitiation) packet);
|
||||
}
|
||||
}, new AndFilter(new PacketTypeFilter(StreamInitiation.class),
|
||||
new IQTypeFilter(IQ.Type.SET)));
|
||||
IQTypeFilter.SET));
|
||||
}
|
||||
|
||||
protected void fireNewRequest(StreamInitiation initiation) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue