mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
The variable is called roomId here
This commit is contained in:
parent
d61714ab8d
commit
842b5aed56
@ -161,7 +161,7 @@ class ContentMessages {
|
||||
var error;
|
||||
var self = this;
|
||||
return def.promise.then(function() {
|
||||
if (matrixClient.isRoomEncrypted(room_id)) {
|
||||
if (matrixClient.isRoomEncrypted(roomId)) {
|
||||
// If the room is encrypted then encrypt the file before uploading it.
|
||||
// First read the file into memory.
|
||||
upload.promise = readFileAsArrayBuffer(file).then(function(data) {
|
||||
|
Loading…
Reference in New Issue
Block a user