ejabberd - Comments for "Archive table message insertion problem" https://www.ejabberd.im/forum/26036/archive-table-message-insertion-problem en I have no idea what can be https://www.ejabberd.im/forum/26036/archive-table-message-insertion-problem#comment-67118 <p>I have no idea what can be the problem. I used a recently installed ejabberd 16.09, and two newly created accounts, so it has mostly default config, default accounts, and used Tkabber as client, but I'm almost sure that should work with any client.</p> Fri, 14 Oct 2016 10:27:47 +0000 badlop comment 67118 at https://www.ejabberd.im @badlop I exactly did what https://www.ejabberd.im/forum/26036/archive-table-message-insertion-problem#comment-67117 <p>@badlop I exactly did what you mentioned in the above comment but the only difference is as you are getting the message entry inserted into the archive table both from (sender to receiver) and from (receiver to sender) when the user comes online... in my case I am getting only one message entry inserted into the archive table i.e from sender to receiver but not from receiver to sender.</p> <p>Could you please help me to solve this issue..? What might have gone wrong?</p> Fri, 14 Oct 2016 10:12:56 +0000 amoghsingh comment 67117 at https://www.ejabberd.im To test this, I configure https://www.ejabberd.im/forum/26036/archive-table-message-insertion-problem#comment-67114 <p>To test this, I configure mod_mam with default: always, then register two accounts and add each other to their rosters. Then logout one, and send a message from one to the other. As you mentioned, only the sended message is stored in archive_msg. When the receiver user logins again, he receives the message, and it is stored in the archive_msg table.</p> <p>Try this configuration, does it work for you correctly like it does for me?</p> <p>If so, see what is different in your desired usage.</p> Wed, 12 Oct 2016 14:06:25 +0000 badlop comment 67114 at https://www.ejabberd.im