Android smack server receipt ack

前端 未结 2 1776
暗喜
暗喜 2021-02-06 18:59

I\'m trying to make a chat application using XMPP. For this, I referred to this tutorial and successfully implemented it. But now I\'m unable to get that particular message is r

2条回答
  •  一整个雨季
    2021-02-06 19:44

    connection.setUseStreamManagement(true);
    

    It'll enable stream management (XEP-198) on the client side.

    http://xmpp.org/extensions/xep-0198.html#acking

    NB: It'll only work if the server supports XEP-198.

提交回复
热议问题