diff --git a/customize.dist/src/less2/include/notifications.less b/customize.dist/src/less2/include/notifications.less index b0d6b22ed..a65870905 100644 --- a/customize.dist/src/less2/include/notifications.less +++ b/customize.dist/src/less2/include/notifications.less @@ -16,7 +16,7 @@ flex: 1; min-width: 0; p { - word-break: break-all; + word-break: break-word; } &.cp-clickable { cursor: pointer; diff --git a/www/common/outer/async-store.js b/www/common/outer/async-store.js index d26f5ff42..2499e1007 100644 --- a/www/common/outer/async-store.js +++ b/www/common/outer/async-store.js @@ -946,7 +946,9 @@ define([ return; } // Otherwise, just remove the notification - store.mailbox.sendTo('DECLINE_FRIEND_REQUEST', {}, { + store.mailbox.sendTo('DECLINE_FRIEND_REQUEST', { + displayName: store.proxy['cryptpad.username'] + }, { channel: msg.content.notifications, curvePublic: msg.content.curvePublic }, function (obj) {