I’m currently using smack API 4.1.1 (particularly smack-legacy-4.1.1 with workgroup API).
When OfferRequestPacket is received smack responds to it with the following packets:
11:56:36 AM RECV (0): cqvUzAtRuDVisitorNot Specifieddev@workgroup.127.0.0.1http://openfire.orangeuce.com:9090/webchat/http://openfire.orangeuce.com:9090/webchat/userinfo.jsp?chatID=w2x1b3V38T&workgr oup=dev@workgroup.127.0.0.120
11:56:36 AM SENT (0):
11:56:36 AM SENT (0):
IQ with type ERROR is sent because there is no registered IQRequestHandler for such packets (see source code of AbstractXMPPConnection#invokePacketCollectorsAndNotifyRecvListeners).
IQ with type RESULT is sent because there is one registered asyncRecvListener (org.jivesoftware.smackx.workgroup.agent.AgentSession listens for OfferRequestPacket).
IQ with type ERROR must not be send. Please, confirm and create issue in your bugtracker for this.
P.S. The same situation appears with OfferRevokePacket.