Receive all group messages when connecting to xmpp with iOS and end Android

I am using openfire version 4.0.1

Using openfire Rest Api I created group chats in the servicename.xx.xx.xxx.xxx service.

Now the rooms create what happens as soon as the user connects to the xmpp server, all group messages return to this user, which makes the application freeze.

I heard about group chat history settings in group chat settings.

enter image description here

I truncate all group messages that are stored in the ofMessageArchive openfire table .

, xmpp, , , MessageArchive.

, xmpp?

.

+2
1

Openfire.

Openfire 4.0.2

Groupchat , - . .

1) OFPROPERTY xmpp.muc.history.reload.limit ( , , put 30 " 30 " )

2) OFMUCSERVICEPROP, serviceid ( ) 0+ . , serviceid 1 (conference) 25 , db history.type (all, , none )

3) smack API. : 0 (: ..).

history.type : none, .

0

Source: https://habr.com/ru/post/1532413/


All Articles