ejabberd - Comments for "Stream management and mod_offline" https://www.ejabberd.im/forum/25554/stream-management-and-modoffline en Thanks for pointing that out. https://www.ejabberd.im/forum/25554/stream-management-and-modoffline#comment-67003 <p>Thanks for pointing that out.</p> Mon, 22 Aug 2016 09:20:28 +0000 kranthi117 comment 67003 at https://www.ejabberd.im kranthi117 wrote: If the https://www.ejabberd.im/forum/25554/stream-management-and-modoffline#comment-67001 <div class="quote-msg"> <div class="quote-author"><em>kranthi117</em> wrote:</div> <blockquote><p> If the client crashed, but ejabberd isn't yet aware of this, the messages aren't stored.</p></blockquote> <p>I am developing an Android application and I am running into this problem frequently. How can I ensure that the messages are stored in the server till the client acknowledges the receipt ?</p></div> <p>There's an <a href="https://www.ejabberd.im/faq/tcp">FAQ entry</a> explaining these things in detail.</p> Sat, 20 Aug 2016 20:05:05 +0000 holger comment 67001 at https://www.ejabberd.im Thanks for the reply. I https://www.ejabberd.im/forum/25554/stream-management-and-modoffline#comment-66999 <p>Thanks for the reply.</p> <p>I checked in the WebAdmin but there are no messages. This means either 1. my client is not sending the messages 2. ejabberd is not configured correctly.<br /> I checked that 1 is not the problem. now i want to know how to debug 2</p> <blockquote><p> If the client crashed, but ejabberd isn't yet aware of this, the messages aren't stored.</p></blockquote> <p>I am developing an Android application and I am running into this problem frequently. How can I ensure that the messages are stored in the server till the client acknowledges the receipt ?</p> Sat, 20 Aug 2016 06:33:04 +0000 kranthi117 comment 66999 at https://www.ejabberd.im mod_offline stores only https://www.ejabberd.im/forum/25554/stream-management-and-modoffline#comment-66996 <p>mod_offline stores only offline messages (those messages sent to an existing local account when the user is not logged in). It isn't stored for accounts that aren't registered, or for accounts where the user is consdered to be logged in. If the client crashed, but ejabberd isn't yet aware of this, the messages aren't stored.</p> <p>Also note that mod_offline stores by default in the internal mnesia database. You can see those messages in ejabberd WebAdmin. If you want the messages to be stored in a SQL database... then you must configure mod_offline explicitely for this.</p> Fri, 19 Aug 2016 10:03:05 +0000 badlop comment 66996 at https://www.ejabberd.im