message: onEvent -> onStateEvent
diff: @@ -39,16 +39,16 @@ module.exports = React.createClass({
  componentDidMount: function() {
  this._updatePinnedMessages();
  - MatrixClientPeg.get().on("RoomState.events", this._onEvent);
  + MatrixClientPeg.get().on("RoomState.events", this._onStateEvent);
  },
  componentWillUnmount: function() {
  if (MatrixClientPeg.get()) {
  - MatrixClientPeg.get().removeListener("RoomState.events", this._onEvent);
  + MatrixClientPeg.get().removeListener("RoomState.events", this._onStateEvent);
  }
  },
  - _onEvent: function(ev) {
  + _onStateEvent: function(ev) {
  if (ev.getRoomId() === this.props.room.roomId && ev.getType() === "m.room.pinned_events") {
  this._updatePinnedMessages();
  }
  