ejabberd - Comments for "Discussion history in MUC"
https://www.ejabberd.im/forum/28769/discussion-history-muc
enI'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 +0000badlopcomment 67473 at https://www.ejabberd.imBelow 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 +0000vidhannandicomment 67463 at https://www.ejabberd.imI 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><presence id='77:762051'<br /> xml:lang='es'<br /> to='room1@conference.localhost/user2'><br /> <x xmlns='http://jabber.org/protocol/muc'><br /> <password/><br /> <history since='1970-01-01T00:00:00Z' /><br /> </x><br /> <show>dnd</show><br /></presence>
<p><message xml:lang='es'<br /> to='user2@localhost/tka1'<br /> from='room1@conference.localhost/user1'<br /> type='groupchat'<br /> id='34:482948'><br /> <delay from='room1@conference.localhost'<br /> stamp='2017-05-12T09:30:30.173075Z'<br /> xmlns='urn:xmpp:delay'/><br /> <body>men1</body><br /></message></p>
<p><message xml:lang='es'<br /> to='user2@localhost/tka1'<br /> from='room1@conference.localhost/user2'<br /> type='groupchat'<br /> id='43:105268'><br /> <delay from='room1@conference.localhost'<br /> stamp='2017-05-12T09:30:48.715166Z'<br /> xmlns='urn:xmpp:delay'/><br /> <body>men2</body><br /></message></p>
<p><message xml:lang='es'<br /> to='user2@localhost/tka1'<br /> from='room1@conference.localhost/user1'<br /> type='groupchat'<br /> id='35:517079'><br /> <delay from='room1@conference.localhost'<br /> stamp='2017-05-12T09:30:52.324299Z'<br /> xmlns='urn:xmpp:delay'/><br /> <body>men3</body><br /></message></p>
<p><message xml:lang='es'<br /> to='user2@localhost/tka1'<br /> from='room1@conference.localhost/user2'<br /> type='groupchat'<br /> id='44:243427'><br /> <delay from='room1@conference.localhost'<br /> stamp='2017-05-12T09:30:55.606021Z'<br /> xmlns='urn:xmpp:delay'/><br /> <body>men4</body><br /></message></p></code></div>
Fri, 12 May 2017 09:39:00 +0000badlopcomment 67450 at https://www.ejabberd.im