From ac5060d5dd567d92ed75de1e6dcf5f7d28158233 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 24 May 2019 10:29:00 +0200 Subject: [PATCH] Fix incorrect message when declining a friend request --- www/common/common-ui-elements.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index cffaa8a45..b0ac60d38 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2621,7 +2621,11 @@ define([ if (error) { return void UI.warn(error); } - UI.log(Messages.contacts_added); + if (yes) { + UI.log(Messages.contacts_added); + } else { + UI.log(Messages.contacts_rejected); + } }); };