Fix missing name in notifications

pull/1/head
yflory 6 years ago
parent 727470d9ed
commit ccff67cf42

@ -99,8 +99,8 @@ define([
box.sendMessage({ box.sendMessage({
type: 'FRIEND_REQUEST_ACCEPTED', type: 'FRIEND_REQUEST_ACCEPTED',
content: { content: {
curvePublic: data.msg.author, user: data.msg.author,
displayName: data.msg.content.displayName name: data.msg.content.displayName
} }
}, function () { }, function () {
if (friendRequestAccepted[data.msg.author]) { if (friendRequestAccepted[data.msg.author]) {

Loading…
Cancel
Save