erlang - Android smack 4.1 flooded with offline messages ejabberd -


i working on chat app using smack 4.1 , ejabberd-15.11 scenario - if client a,b,c,d send messages e , e offline messages stores in offline storage when user e comes online android client becomes unresponsive if number of offline stored messages in huge amount (3000-5000). please suggest me solution

the default setting in ejabberd example config file limit number of offline messages 100.

  max_user_offline_messages:      admin: 5000     all: 100 

new messages rejected , sender notified error.

if user admin expecting connect admin android, can configured ejabberd limit number of offline messages admin 100 messages.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -