Verified Commit e89b35d3 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

actionsplugin: show display name of im service instead of protocol

parent f2267ffb
Pipeline #10018 passed with stage
in 7 minutes and 9 seconds
......@@ -77,7 +77,9 @@ QList<QAction *> KPeopleActionsPlugin::actionsForPerson(const KPeople::PersonDat
// Instant messenger actions
for (auto &impp : addressee.imppList()) {
QAction *action = new QAction(QIcon::fromTheme(impp.serviceIcon()),
i18nc("Action to write xmpp message", "%1 %2", impp.serviceType(), impp.address().toString()));
i18nc("Action to write to instant messanger contact", "%1 %2",
action->setProperty("actionType", KPeople::TextChatAction);
connect(action, &QAction::triggered, [=]() {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment