more fixes for notfication in conferences

iNPUTmice created

Change summary

src/eu/siacs/conversations/utils/UIHelper.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

src/eu/siacs/conversations/utils/UIHelper.java 🔗

@@ -334,7 +334,7 @@ public class UIHelper {
 		boolean vibrate = preferences.getBoolean("vibrate_on_notification",
 				true);
 		boolean alwaysNotify = preferences.getBoolean(
-				"notify_in_conversation_when_highlighted", false) && notify;
+				"notify_in_conversation_when_highlighted", false);
 
 		if (!showNofifications) {
 			mNotificationManager.cancel(2342);
@@ -345,7 +345,7 @@ public class UIHelper {
 
 		if ((currentCon != null)
 				&& (currentCon.getMode() == Conversation.MODE_MULTI)
-				&& (!alwaysNotify)) {
+				&& (!alwaysNotify) && notify) {
 			String nick = currentCon.getMucOptions().getActualNick();
 			Pattern highlight = generateNickHighlightPattern(nick);
 			Matcher m = highlight.matcher(currentCon.getLatestMessage()