Can you please tell me , How can I get 'Current Domain Name' in NodeBB.
I need to create TOPIC/POST link, So that I can send in Email.
var nconf = require.main.require('nconf');
Depending on the plugin hook, the uid is included in the payload.
Can you point me to that location, where I can find and extend the USER model, to include the USER EMAIL ADDRESS ?
The expectation is that the EMAIL ADDRESS should be persisted in the DB and be available across USER login sessions.
This is now on master. The data that is passed to the filter includes the topic, the uid of the current user and an empty tools array.
Thanks for your help @julian !
Just saw this section on the git! Thank you so much for showing me an example ^_^