For my research I need to log all the messages sent between the users. How could I get this with DrupalChat? In the reports->recent hits I can see all the AJAX calls sent from DrupalChat, but they do not contain the messages that users have sent.

Should I wrap the DrupalChat code to record the comments in the database? if so, I would be greatful is you could point me to the right function in the drupalchat code where the messages of users are accessible so that I can add my own code.

If there is any other way, please let me know.

Thanks

Comments

darklrd’s picture

Comment out the code inside function named drupalchat_cron(). You will be able to access all the chat messages from database then.

Thanks

darklrd’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.