Commit fda5000a authored by Moritz Langenstein's avatar Moritz Langenstein
Browse files

(ml5717) Added messenger peer to peer parameter on forwarded message

parent f0b57a92
...@@ -247,7 +247,7 @@ var LioWebRTC = function (_WildEmitter) { ...@@ -247,7 +247,7 @@ var LioWebRTC = function (_WildEmitter) {
self.emit('receivedPeerData', data.payload.type, data.payload.payload, { self.emit('receivedPeerData', data.payload.type, data.payload.payload, {
id: data.payload.senderId, id: data.payload.senderId,
nick: data.payload.senderNick, nick: data.payload.senderNick,
isForwarded: true forwardedBy: peer
}); });
break; break;
case '_ping': case '_ping':
......
...@@ -207,7 +207,7 @@ class LioWebRTC extends WildEmitter { ...@@ -207,7 +207,7 @@ class LioWebRTC extends WildEmitter {
self.emit('receivedPeerData', data.payload.type, data.payload.payload, { self.emit('receivedPeerData', data.payload.type, data.payload.payload, {
id: data.payload.senderId, id: data.payload.senderId,
nick: data.payload.senderNick, nick: data.payload.senderNick,
isForwarded: true, forwardedBy: peer,
}); });
break; break;
case '_ping': case '_ping':
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment