You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
use more consistent naming
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user