Use the now-prefixed js-sdk status message API

See 08b3dfa3b5
This commit is contained in:
Travis Ralston 2018-12-12 23:07:03 -07:00
parent b0b7932f5f
commit f2649f7807
5 changed files with 10 additions and 10 deletions

View file

@ -257,8 +257,8 @@ module.exports = React.createClass({
if (!isInvite && isJoined && looksLikeDm) {
const selfId = MatrixClientPeg.get().getUserId();
const otherMember = this.props.room.currentState.getMembersExcept([selfId])[0];
if (otherMember.user && otherMember.user.statusMessage) {
subtext = otherMember.user.statusMessage;
if (otherMember.user && otherMember.user._unstable_statusMessage) {
subtext = otherMember.user._unstable_statusMessage;
}
}