Closed (fixed)
Project:
DrupalChat
Version:
7.x-1.0-beta4
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2012 at 12:42 UTC
Updated:
9 May 2012 at 16:10 UTC
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
Comment #1
darklrd commentedComment out the code inside function named drupalchat_cron(). You will be able to access all the chat messages from database then.
Thanks
Comment #2
darklrd commentedFixed - http://drupalcode.org/project/drupalchat.git/commit/7a07655