(04-08-2021, 09:54 AM)FutureBucket Wrote:(04-07-2021, 08:09 PM)kop316 Wrote: So some fun news on mmsd!
I now made mmsd be able to process SMS WAPs without the need for purple-mm-sms or Chatty. Previously, I had mmsd depend on chatty/purple-mm-sms to process SMS WAPs (this is the first step in recieving an MMS). With the new code, it can do that itself and download MMS by itself. It saves it in a folder (but it is the whole payload), and has a dbus notification that makes it easy to parse (you can make a python script to parse them).
You do have to manually enable the setting in the settings file and restart mmsd.
Also so you know (if this was not obvious), mmsd alone fully supports sending MMS (i.e. group chats, attachments, etc.)! mmsd has always supported sending MMS. It is just also a daemon that can send them. You can see an example on how to do it here:
https://source.puri.sm/kop316/mmsd/-/blo...nd-message
https://source.puri.sm/Librem5/purple-mm...ote_132496
This method of sending works for both Group MMSS, attachments, and a mix of!
So in other words, mmsd/modem manager fully supports MMS (though not in a very user friendly way).
Hey man, this is good news! I've been away for awhile and will not be able to get back into things for a couple weeks but I'm happy to see you're still hard at work!!
Will MMSD clean up the WAP messages on the modem or will chat apps have to clean up MMS messages from both MM and MMSD?
mmsd will clean up the WAP messages. In this mode mmsd is assuming no help from any other application to send or recieve MMS (aside from Modem Manager of course).