|
@@ -592,8 +592,8 @@ class API {
|
592
|
592
|
* @returns {void}
|
593
|
593
|
*/
|
594
|
594
|
notifyReceivedChatMessage(
|
595
|
|
- { body, id, nick, ts }: {
|
596
|
|
- body: *, id: string, nick: string, ts: *
|
|
595
|
+ { body, id, nick, privateMessage, ts }: {
|
|
596
|
+ body: *, id: string, nick: string, privateMessage: boolean, ts: *
|
597
|
597
|
} = {}) {
|
598
|
598
|
if (APP.conference.isLocalId(id)) {
|
599
|
599
|
return;
|
|
@@ -604,6 +604,7 @@ class API {
|
604
|
604
|
from: id,
|
605
|
605
|
message: body,
|
606
|
606
|
nick,
|
|
607
|
+ privateMessage,
|
607
|
608
|
stamp: ts
|
608
|
609
|
});
|
609
|
610
|
}
|