Problem/Motivation
File attachment not working.
Steps to replicate:
- Download and install latest dev version of the module
- Go to configuration page of this module
- Select "Normal AJAX" option in "Choose Polling Method"
- Make sure "Enable File Attachment" is selected "Yes"
- Save configuration
When I am chatting with a user not attach option is available.
Proposed resolution
After checking the code, I saw that by default this module does not provides support for file attachment, unless you use iFlyChat service. So either:
Hide that file attachment option by default
- Enable support for file attachment even if third party service is not selected.
Remaining tasks
User interface changes
Apart from file attachment option in admin UI, also add option for file types.
API changes
drupalchat_sendfile() added that sends attachments via AJAX.
Data model changes
N/A
Comments
Comment #2
subhojit777Comment #3
subhojit777Comment #4
subhojit777Comment #5
subhojit777Comment #6
subhojit777Comment #7
subhojit777Bug fix.
Comment #8
subhojit777Comment #9
subhojit777Comment #10
avpadernoThe 7.x-1.x branch is now not supported. Any bug will be fixed in the 7.x-2.x branch, until Drupal 7.x is not supported. It is probably better to focus on resolving bugs in the Drupal 8 branch and make it compatible with Drupal 9 or Drupal 10.