ejabberd - Fetch the history messages mod_mam via API

馋奶兔 提交于 2020-04-30 08:46:12

问题


I've activated mod_mam module in Ejabberd as follow:-

mod_mam:
    db_type: sql
    assume_mam_usage: true
    default: always
    clear_archive_on_room_destroy: false

How do I fetch messages over the APIs?


回答1:


If "over the APIs" means using mod_http_api, xmlrpc, ReST, or similar, then that isn't possible. mod_mam right now is to be used by XMPP clients as defined in https://xmpp.org/extensions/xep-0313.html



来源:https://stackoverflow.com/questions/61297053/ejabberd-fetch-the-history-messages-mod-mam-via-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!