看openfire(版本3.9)的配置,好像是支持群聊也支持离线消息的,还有配置离线保存多少条信息
这个具体要怎么做,才能实现支持离线消息,就是群成员发言,未在线的用户登陆后,可以看到之前的群聊天信息
能否介绍一下关键点
With MUC, this is completely dependent on the setup of the room itself. If the room is marked as persistent, then all messages sent to that room are stored and available later. When a user joins the room, those messages are either flooded to the user or the user can request them as defined by the spec. You can mark a room persistent when creating the room or, at least in openfire, there is a parameter to make all rooms persistent and you can create some additional defaults for how messages are handled.######不是太明白,能否说的更直接些,是否需要改写什么接口######
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。