Merge branch 'develop' into wmwragg/direct-chat-sublist
This commit is contained in:
commit
7b7a77bad0
19 changed files with 334 additions and 85 deletions
|
@ -456,7 +456,7 @@ var RoomSubList = React.createClass({
|
|||
// is run with historical room tag data, after that there should only be undefined
|
||||
// in the list at a time anyway.
|
||||
for (let i = 0; i < list.length; i++) {
|
||||
if (list[i].tags[self.props.tagName].order === undefined) {
|
||||
if (list[i].tags[self.props.tagName] && list[i].tags[self.props.tagName].order === undefined) {
|
||||
MatrixClientPeg.get().setRoomTag(list[i].roomId, self.props.tagName, {order: (order + 1.0) / 2.0}).finally(function() {
|
||||
// Do any final stuff here
|
||||
}).fail(function(err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue