Merge pull request #1748 from matrix-org/luke/fix-manually-ordered-custom-tagged-rooms
If a tag is unrecognised, assume manual orderingpull/21833/head
						commit
						e0d598fb19
					
				|  | @ -176,12 +176,13 @@ class RoomListStore extends Store { | |||
|             listOrders[order].forEach((listKey) => { | ||||
|                 let comparator; | ||||
|                 switch (order) { | ||||
|                     case "manual": | ||||
|                         comparator = this._getManualComparator(listKey, optimisticRequest); | ||||
|                         break; | ||||
|                     case "recent": | ||||
|                         comparator = this._recentsComparator; | ||||
|                         break; | ||||
|                     case "manual": | ||||
|                     default: | ||||
|                         comparator = this._getManualComparator(listKey, optimisticRequest); | ||||
|                         break; | ||||
|                 } | ||||
|                 lists[listKey].sort(comparator); | ||||
|             }); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Luke Barnard
						Luke Barnard