xmppjs / xmpp.js

XMPP for JavaScript
ISC License
2.18k stars 372 forks source link

Get the conversation with another user #903

Closed ruicaramalho closed 3 years ago

ruicaramalho commented 3 years ago

Hi

How to request the conversation with a user (for openfire)

  xmpp.send(
    xml(
       ????????
    ));

PS- I searched before but did not find

Thanks

ruicaramalho commented 3 years ago

By default the XMMP server does not save any history. Usualy is the client that does this.

Some can do it xep-0313, ,but probably not a good idea if you don't implement a auto cleaning process.

So my solution is to store the Messages in the browser LocalStorage