ejabberd - Comments for "Discussion history in MUC" https://www.ejabberd.im/forum/28769/discussion-history-muc en I've tried with your https://www.ejabberd.im/forum/28769/discussion-history-muc#comment-67473 <p>I've tried with your configuration, with just a minimal change: I still use db_type mnesia, but this shouldn't affect as the room recent history is stored in RAM anyway, not in database. The feature works correctly with a newly created room... I didn't see your problem.</p> <p>Your config looks acceptable, nothing wrong apparently.</p> <p>Have you tried this with a typical desktop XMPP client, like Psi or Gajim?</p> <p>Also, those clients allow you to view the XMPP traffic realtime (called XML console or similar). Check there if the missing messages are sent or not.</p> Thu, 18 May 2017 21:04:52 +0000 badlop comment 67473 at https://www.ejabberd.im Below is our current server https://www.ejabberd.im/forum/28769/discussion-history-muc#comment-67463 <p>Below is our current server config:</p> <pre> mod_muc: host: "chat.@HOST@" db_type: sql max_user_conferences: 200 access_create: muc_create access_persistent: muc_create history_size: 20 access: - allow ## access_create: ## - allow: local ## access_persistent: ## - allow: local access_admin: - allow: admin default_room_options: public: true persistent: true members_by_default: true allow_change_subj: true moderated: false mam: true </pre> Tue, 16 May 2017 09:47:00 +0000 vidhannandi comment 67463 at https://www.ejabberd.im I don't see that problem. https://www.ejabberd.im/forum/28769/discussion-history-muc#comment-67450 <p>I don't see that problem. user1 creates a room, user2 joins, and each one sends a pair of messages. Later user2 leaves the room. Finally user2 sends a presence stanza to join, and receives the four messages:</p> <p>Try with default mod_muc configuration, and default room options. Or show here your mod_muc config.</p> <div class="codeblock"><code>&lt;presence id=&#039;77:762051&#039;<br /> xml:lang=&#039;es&#039;<br /> to=&#039;room1@conference.localhost/user2&#039;&gt;<br />&nbsp; &lt;x xmlns=&#039;http://jabber.org/protocol/muc&#039;&gt;<br />&nbsp;&nbsp;&nbsp; &lt;password/&gt;<br />&nbsp;&nbsp;&nbsp; &lt;history&nbsp; since=&#039;1970-01-01T00:00:00Z&#039; /&gt;<br />&nbsp; &lt;/x&gt;<br />&nbsp; &lt;show&gt;dnd&lt;/show&gt;<br />&lt;/presence&gt; <p>&lt;message xml:lang=&#039;es&#039;<br /> to=&#039;user2@localhost/tka1&#039;<br /> from=&#039;room1@conference.localhost/user1&#039;<br /> type=&#039;groupchat&#039;<br /> id=&#039;34:482948&#039;&gt;<br />&nbsp; &lt;delay from=&#039;room1@conference.localhost&#039;<br /> stamp=&#039;2017-05-12T09:30:30.173075Z&#039;<br /> xmlns=&#039;urn:xmpp:delay&#039;/&gt;<br />&nbsp; &lt;body&gt;men1&lt;/body&gt;<br />&lt;/message&gt;</p> <p>&lt;message xml:lang=&#039;es&#039;<br /> to=&#039;user2@localhost/tka1&#039;<br /> from=&#039;room1@conference.localhost/user2&#039;<br /> type=&#039;groupchat&#039;<br /> id=&#039;43:105268&#039;&gt;<br />&nbsp; &lt;delay from=&#039;room1@conference.localhost&#039;<br /> stamp=&#039;2017-05-12T09:30:48.715166Z&#039;<br /> xmlns=&#039;urn:xmpp:delay&#039;/&gt;<br />&nbsp; &lt;body&gt;men2&lt;/body&gt;<br />&lt;/message&gt;</p> <p>&lt;message xml:lang=&#039;es&#039;<br /> to=&#039;user2@localhost/tka1&#039;<br /> from=&#039;room1@conference.localhost/user1&#039;<br /> type=&#039;groupchat&#039;<br /> id=&#039;35:517079&#039;&gt;<br />&nbsp; &lt;delay from=&#039;room1@conference.localhost&#039;<br /> stamp=&#039;2017-05-12T09:30:52.324299Z&#039;<br /> xmlns=&#039;urn:xmpp:delay&#039;/&gt;<br />&nbsp; &lt;body&gt;men3&lt;/body&gt;<br />&lt;/message&gt;</p> <p>&lt;message xml:lang=&#039;es&#039;<br /> to=&#039;user2@localhost/tka1&#039;<br /> from=&#039;room1@conference.localhost/user2&#039;<br /> type=&#039;groupchat&#039;<br /> id=&#039;44:243427&#039;&gt;<br />&nbsp; &lt;delay from=&#039;room1@conference.localhost&#039;<br /> stamp=&#039;2017-05-12T09:30:55.606021Z&#039;<br /> xmlns=&#039;urn:xmpp:delay&#039;/&gt;<br />&nbsp; &lt;body&gt;men4&lt;/body&gt;<br />&lt;/message&gt;</p></code></div> Fri, 12 May 2017 09:39:00 +0000 badlop comment 67450 at https://www.ejabberd.im