Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Update pinned messages in real time #1934

Merged
merged 2 commits into from
May 27, 2018

Conversation

turt2live
Copy link
Member

Fixes element-hq/element-web#5358

Signed-off-by: Travis Ralston <travpc@gmail.com>
@turt2live
Copy link
Member Author

@@ -39,6 +39,19 @@ module.exports = React.createClass({

componentDidMount: function() {
this._updatePinnedMessages();
MatrixClientPeg.get().on("RoomState.events", this._onEvent);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can I haz s/_onEvent/_onStateEvent/

Signed-off-by: Travis Ralston <travpc@gmail.com>
@t3chguy t3chguy merged commit 96ec3ab into matrix-org:develop May 27, 2018
@t3chguy
Copy link
Member

t3chguy commented May 27, 2018

LGTM Thanks!

@turt2live turt2live deleted the travis/realtime-pins branch May 27, 2018 16:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pinned messages don't seem to update in realtime
2 participants