Commit 936d8431 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Changed sms notification message

parent 81400102
......@@ -35,7 +35,6 @@ KNotification* NotificationPackageInterface::createNotification(const QString& d
if (npType == "ringing") {
type = "callReceived";
icon = "call-start";
QString number =
content = "Incoming call from " + np.get<QString>("phoneNumber","unknown number");
} else if (npType == "missedCall") {
type = "missedCall";
......@@ -44,7 +43,10 @@ KNotification* NotificationPackageInterface::createNotification(const QString& d
} else if (npType == "sms") {
type = "smsReceived";
icon = "mail-receive";
content = "SMS received from " + np.get<QString>("phoneNumber","unknown number");
content = "SMS from "
+ np.get<QString>("phoneNumber","unknown number")
+ ":\n"
+ np.get<QString>("messageBody","");
} else if (npType == "battery") {
type = "battery100";
icon = "battery-100";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment