use more consistent naming

pull/21833/head
Bruno Windels 2018-07-13 14:23:24 +02:00
parent 54904c9282
commit e237a02fa5
2 changed files with 2 additions and 2 deletions

View File

@ -754,7 +754,7 @@ module.exports = React.createClass({
return;
}
const roomId = this.state.room.roomId;
const dmInviter = me.getDirectChatInviter();
const dmInviter = me.getDMInviter();
if (dmInviter) {
Rooms.setDMRoom(roomId, dmInviter);

View File

@ -98,7 +98,7 @@ export default class DMRoomMap {
const room = this.matrixClient.getRoom(roomId);
if (room) {
const me = room.getMember(this.matrixClient.getUserId());
return me.getDirectChatInviter();
return me.getDMInviter();
}
}
return this.roomToUser[roomId];