Comparing version 0.1.4 to 0.1.5
{ | ||
"author": "Ian Jennings", | ||
"name": "ocf", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Open Chat Framework", | ||
@@ -6,0 +6,0 @@ "main": "src/index.js", |
@@ -294,3 +294,3 @@ "use strict"; | ||
data: data, // the data supplied from params | ||
emiter: OCF.me.uuid, // my own uuid | ||
sender: OCF.me.uuid, // my own uuid | ||
chat: this, // an instance of this chat | ||
@@ -337,5 +337,5 @@ }; | ||
// turn a uuid found in payload.emiter to a real user | ||
if(payload.emiter && OCF.users[payload.emiter]) { | ||
payload.emiter = OCF.users[payload.emiter]; | ||
// turn a uuid found in payload.sender to a real user | ||
if(payload.sender && OCF.users[payload.sender]) { | ||
payload.sender = OCF.users[payload.sender]; | ||
} | ||
@@ -342,0 +342,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package