diff --git a/CHANGES.rst b/CHANGES.rst new file mode 100644 index 0000000000..d6c12bbf8e --- /dev/null +++ b/CHANGES.rst @@ -0,0 +1,9 @@ +Changes in matrix-react-sdk v0.1.0 (2016-02-24) +=============================================== + * Significant refactor: remove separation between views and controllers + * This release of the react-sdk will require additional components to function. + See https://github.com/vector-im/vector-web for a complete application. + +Changes in matrix-react-sdk v0.0.2 (2015-10-28) +=============================================== + * Initial release diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst new file mode 100644 index 0000000000..99025f0e0a --- /dev/null +++ b/CONTRIBUTING.rst @@ -0,0 +1,4 @@ +Contributing code to The React SDK +================================== + +matrix-react-sdk follows the same pattern as https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.rst diff --git a/package.json b/package.json index 17282dd545..c4ebc9f7ae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matrix-react-sdk", - "version": "0.0.2", + "version": "0.1.0", "description": "SDK for matrix.org using React", "author": "matrix.org", "repository": { @@ -28,7 +28,7 @@ "highlight.js": "^8.9.1", "linkifyjs": "^2.0.0-beta.4", "marked": "^0.3.5", - "matrix-js-sdk": "https://github.com/matrix-org/matrix-js-sdk.git#develop", + "matrix-js-sdk": "^0.4.0", "optimist": "^0.6.1", "q": "^1.4.1", "react": "^0.14.2", diff --git a/src/components/views/rooms/RoomList.js b/src/components/views/rooms/RoomList.js index 07ed450ef2..9a7396097f 100644 --- a/src/components/views/rooms/RoomList.js +++ b/src/components/views/rooms/RoomList.js @@ -127,7 +127,7 @@ module.exports = React.createClass({ onRoomTimeline: function(ev, room, toStartOfTimeline) { if (toStartOfTimeline) return; - this.refreshRoomList(); + this._delayedRefreshRoomList(); }, onRoomReceipt: function(receiptEvent, room) { @@ -137,7 +137,7 @@ module.exports = React.createClass({ for (var i = 0; i < receiptKeys.length; ++i) { var rcpt = receiptEvent.getContent()[receiptKeys[i]]; if (rcpt['m.read'] && rcpt['m.read'][MatrixClientPeg.get().credentials.userId]) { - this.refreshRoomList(); + this._delayedRefreshRoomList(); break; } }