-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Optionally Store images in a filesystem folder instead of passing them to the front-end #217
Comments
So I'd propose to have another option which is similar to tdlib-purple, have a whatsmeow folder or something in purple, and allow another option to store the images there, (and only there too)? |
Thank you for the suggestion. This can definitely be done. It completely bypasses all involvement of the UI, which may even be a good thing in some circumstances. From Spectrum and Bitlbee server admins I heard both, positive and negative feedback each. Henceforth it must be an optional feature. I can probably recycle some of the code from https://github.com/hoehermann/purple-signald. I currently do not use the auto-accept plug-in, but I did not configure it for daily use, yet. No estimate when I can come around to try it. Unfortunately, my day job has become more demanding which leaves me with less energy to spend on this project. :( |
Yes it should be an optional feature, I forgot to mention that.
Oh, I have no need to rush so do it when you're able to. |
This comment was marked as off-topic.
This comment was marked as off-topic.
We can have a short discussion here, I can clean up the conversation later. In https://github.com/hoehermann/purple-gowhatsapp/blob/whatsmeow/src/go/profile.go, I just download the profile picture and give it to the front-end. I obtain the source URI via https://pkg.go.dev/go.mau.fi/whatsmeow#Client.GetProfilePictureInfo. Is there an alternative approach which yields higher quality pictures? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment has been minimized.
This comment has been minimized.
FYI It seems the image is bigger, but not the size WhatsApp's servers store it as, so it's likely in my case pidgin is compressing the image or something, as I know the real image size is bigger, and the quality still isn't the best so this issue would still apply to images of profile pictures. |
Is e1ebc5b to your liking? |
Yes, I haven't tested the downloading profile pictures part but I assume it'll work fine. |
Wait, if you change the profile picture, next time it'll be overwritten. |
I'd do this:
|
Personally, I think this is a bit on the creepy side. Sometimes people do replace their profile picture because they explicitly want the old one gone. Alas, same goes for show once messages, deletion or revision of messages and other privacy functions which cannot be implemented in libpurple due to its limitations. Twenty years ago, using the internet certainly was different… I am hesitant to put this in. Bad gut feeling. For now, that patch will be part of your local build. 🙂 |
Oh, that's true |
Also, I've noticed |
Tho being honest technically the removal of the old status updates could now be implemented |
Unfortunately, I cannot work on any feature regarding status updates / broadcasts at all. I have one account I actually use and three additional accounts for testing purposes. For reasons unknown, I do not receive status updates on any device. That means I do not know how such a message actually looks like and even if I implemented some handling, I cannot test it. I am afraid, someone else needs to look into that. 😕 In regard to the original topic of storing attachments directly, it looks like this issue is closed, is it? |
Yes, it's closed. Except sometimes you don't get things you sent on other devices I think, but that should likely be registered as another issue? |
Glad to read that. 🙂
Yes, please open another issue for that. |
Maybe this should go to upstream?
I have pidgin configured to "do both" with incoming images, and I've noticed that if I receive multiple images and at least one of those is from a user with autoaccept on ask, pidgin doesn't let me accept it to save it to somewhere, and crashes.
I've had this happen after having pidgin stopped for a while and have had received a lot of images, so that's a bit annoying.
The text was updated successfully, but these errors were encountered: