|
@@ -76,12 +76,12 @@ MiddlewareRegistry.register(store => next => action => {
|
76
|
76
|
} else {
|
77
|
77
|
// Sending the message if privacy notice doesn't need to be shown.
|
78
|
78
|
|
|
79
|
+ const { privateMessageRecipient } = state['features/chat'];
|
|
80
|
+
|
79
|
81
|
if (typeof APP !== 'undefined') {
|
80
|
|
- APP.API.notifySendingChatMessage(action.message);
|
|
82
|
+ APP.API.notifySendingChatMessage(action.message, Boolean(privateMessageRecipient));
|
81
|
83
|
}
|
82
|
84
|
|
83
|
|
- const { privateMessageRecipient } = state['features/chat'];
|
84
|
|
-
|
85
|
85
|
if (privateMessageRecipient) {
|
86
|
86
|
conference.sendPrivateTextMessage(privateMessageRecipient.id, action.message);
|
87
|
87
|
_persistSentPrivateMessage(store, privateMessageRecipient.id, action.message);
|