Commit 8e9cdc9c authored by Tomi Leppänen's avatar Tomi Leppänen

Merge branch 'jb51772_messages_bus_name' into 'master'

[commhistoryd] Adjust to new Messages bus names. Contributes to JB#51772

See merge request !51
parents 4633f2fb d73295c3
......@@ -35,8 +35,8 @@
#define ACCOUNT_PRESENCE_OBJECT_PATH QLatin1String("/org/nemomobile/AccountPresence")
#define ACCOUNT_PRESENCE_INTERFACE QLatin1String("org.nemomobile.AccountPresenceIf")
#define MESSAGING_SERVICE_NAME QLatin1String("org.nemomobile.qmlmessages")
#define MESSAGING_INTERFACE QLatin1String("org.nemomobile.qmlmessages")
#define MESSAGING_SERVICE_NAME QLatin1String("org.sailfishos.Messages")
#define MESSAGING_INTERFACE QLatin1String("org.sailfishos.Messages")
#define SHOW_INBOX_METHOD QLatin1String("showGroupsWindow")
#define START_CONVERSATION_METHOD QLatin1String("startConversation")
......
......@@ -356,9 +356,9 @@ void NotificationManager::playClass0SMSAlert()
void NotificationManager::requestClass0Notification(const CommHistory::Event &event)
{
QDBusMessage msg = QDBusMessage::createMethodCall(QLatin1String("org.nemomobile.ClassZeroSmsNotification"),
QLatin1String("/org/nemomobile/ClassZeroSmsNotification"),
QLatin1String("org.nemomobile.ClassZeroSmsNotification"),
QDBusMessage msg = QDBusMessage::createMethodCall(QLatin1String("org.sailfishos.Messages.ClassZeroSmsNotification"),
QLatin1String("/org/sailfishos/messages/ClassZeroSmsNotification"),
QLatin1String("org.sailfishos.Messages.ClassZeroSmsNotification"),
QLatin1String("showNotification"));
QList<QVariant> arguments;
arguments << event.freeText();
......
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