Add "event" field to ConversationMessage
Update packet type with proper field names and commenting
Future "proof" SmsPlugin against new event types
apol |
KDE Connect |
Add "event" field to ConversationMessage
Update packet type with proper field names and commenting
Future "proof" SmsPlugin against new event types
Lint OK |
No Unit Test Coverage |
Buildable 4870 | |
Build 4888: arc lint + arc unit |
interfaces/conversationmessage.h | ||
---|---|---|
95 | How about isTextMessage? |
interfaces/conversationmessage.h | ||
---|---|---|
95 | The reason for not "isTextMessage" is because you could have a picture message which also contains text, so saying "isTextMessage" would technically be not true. The message I am trying to get across with "containsPureText" is that the message contains something which can be directly displayed, as opposed to HTML or some other weirdness. I could change it to something like "containsTextBody" or something if you like that better |
Other than that, let's get this in.
interfaces/conversationmessage.h | ||
---|---|---|
95 | I like containsTextBody more, yes. |
I will need to upload the Android-side patch too, since without that change this plugin will break. Could you accept that one too? :)
I know it sucks reading this, but I don't feel qualified to accept a patch in android.