1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

camelCase

This commit is contained in:
David Baker
2016-01-26 14:11:36 +00:00
parent 15e8784daf
commit 0c3abcccf2

View File

@@ -623,12 +623,12 @@ Room.prototype.addReceipt = function(event) {
/** /**
* Add a temporary local-echo receipt to the room to reflect in the * Add a temporary local-echo receipt to the room to reflect in the
* client the fact that we've sent one. * client the fact that we've sent one.
* @param {string} user_id The user ID if the receipt sender * @param {string} userId The user ID if the receipt sender
* @param {MatrixEvent} e The event that is to be acknowledged * @param {MatrixEvent} e The event that is to be acknowledged
* @param {string} receipt_type The type of receipt * @param {string} receiptType The type of receipt
*/ */
Room.prototype._addLocalEchoReceipt = function(user_id, e, receipt_type) { Room.prototype._addLocalEchoReceipt = function(userId, e, receiptType) {
this.addReceipt(synthesizeReceipt(user_id, e, receipt_type)); this.addReceipt(synthesizeReceipt(userId, e, receiptType));
}; };
/** /**