Merge pull request #2055 from matrix-org/bwindels/stop-peeking-fix
Fix not stopping to peek when navigating away from peeked roompull/21833/head
						commit
						415eef5aec
					
				|  | @ -299,11 +299,11 @@ module.exports = React.createClass({ | |||
|                         throw err; | ||||
|                     } | ||||
|                 }); | ||||
|             } else if (room) { | ||||
|                 // Stop peeking because we have joined this room previously
 | ||||
|                 MatrixClientPeg.get().stopPeeking(); | ||||
|                 this.setState({isPeeking: false}); | ||||
|             } | ||||
|         } else if (room) { | ||||
|             // Stop peeking because we have joined this room previously
 | ||||
|             MatrixClientPeg.get().stopPeeking(); | ||||
|             this.setState({isPeeking: false}); | ||||
|         } | ||||
|     }, | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 David Baker
						David Baker