-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no pasted images in chat #77
Comments
it is likely plugin issue: the code tries to put in the URL of the file but seems to fail: does it happen to all pasted files in your setup or only some ? |
No, I just see this in chat:
when somebody sends me a image, gif or jpeg – doesn't matter. |
It looks like we get (not properly handled) empty reply from MM server: does your server allow public file links ?. I just got image handling reimplemented (plugin allows now to send/receive images) here: ea49f1c (disclaimer: this is really untested code, works for me with libpurple2, have not tried with 3 ...). |
Don't really know how to answer :) What is a public file link? In browser chat, however, image URL looks like this: |
The public links are a way of getting file contents while not using MM client - do not require authentication or any specific protocol (just plain http): I have implemented checking for public links server capability (plus server info, slash commands capability) here: a64a9b4 |
downloaded, built and installed a64a9b4 'Accounts' -> 'your account' -> 'Server info' shows: Server Version: 5.2.0 (we upgraded yesterday from 4 to 5) still no images in pidgin chat window (wonder if pidgin can display images at all?), but instead of
I see just
now. In logs, this might be of interest (from pidgin --debug output):
next one is slightly offtopic, but I will report it here anyway:
in fact, logs are placed into /home/<USER>/.purple/logs/mattermost/<your_account>/some-buddy/<TIMESTAMP>.html |
this might be a pidgin-issue and not a mattermost-plugin issue, but I will report it here anyway.
You can see pasted images with mattermost' own client in a chat, but pidgin displays only empty line followed by another line containing
<a href="
. Pasted graphics is not displayed.The text was updated successfully, but these errors were encountered: