ejabberd - Comments for "mod_rest + mod_mam to support migration" https://www.ejabberd.im/forum/28584/modrest-modmam-support-migration en Hi Guys, I am getting the https://www.ejabberd.im/forum/28584/modrest-modmam-support-migration#comment-67331 <p>Hi Guys,</p> <p>I am getting the same problem "The only issue that remains is that when UserOld sends a message to UserNew (through mod_rest endpoint), that message is not inserted into archive nor spool."</p> <p>when UserOld is sending a message to UserNew then a message is inserted on the archive for UserNew but not forUserOld.</p> <p>Please share if you have any idea to fix it.</p> Sun, 19 Feb 2017 19:40:55 +0000 iitrsachin89 comment 67331 at https://www.ejabberd.im Yes, now i see the messages https://www.ejabberd.im/forum/28584/modrest-modmam-support-migration#comment-67151 <p>Yes, now i see the messages getting queued on the table spool when a UserNew sends a message to UserOld</p> <p>The only issue that remains is that when UserOld sends a message to UserNew (through mod_rest endpoint), that message is not inserted into archive nor spool.</p> <p>Is there a way to "log in" UserOld through mod_rest to simulate the same behaviour as if using the xmpp native client?</p> <p>Thanks for the help.</p> Mon, 24 Oct 2016 13:10:49 +0000 ncajelli comment 67151 at https://www.ejabberd.im I configure like https://www.ejabberd.im/forum/28584/modrest-modmam-support-migration#comment-67148 <p>I configure like this:</p> <pre> modules: mod_mam: default: always mod_offline: {} </pre><p> When User1 sends a message to User2, the sender's message is stored in the mam table immediately. If User2 is online, the message is delivered to him, and also stored in MAM table.</p> <p>But if User2 is offline, the message is stored in the offline table; and later when User2 logins, the message is delivered to him (from the offline table) and is stored in the MAM table.</p> <p>Try this config and scenario, does it work correctly?<br /> Otherwise, disable your custom module and try again this config and scenario, does it work now?</p> Mon, 24 Oct 2016 10:49:00 +0000 badlop comment 67148 at https://www.ejabberd.im