adds a parameter to not store messages into archive
import nostore from 'stanza.io-no-store'
...
client.use(nostore);
client.sendMessage({
to: 'foo@bar.com',
body: 'This message will not be stored into message archive',
noStore: true
});
adds a parameter to not store messages into archive
import nostore from 'stanza.io-no-store'
...
client.use(nostore);
client.sendMessage({
to: 'foo@bar.com',
body: 'This message will not be stored into message archive',
noStore: true
});
npm i stanza.io-no-store
0
1.0.0
Apache-2.0
12.5 kB
4