mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-19 05:21:22 +02:00
use more consistent naming
This commit is contained in:
parent
54904c9282
commit
e237a02fa5
@ -754,7 +754,7 @@ module.exports = React.createClass({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const roomId = this.state.room.roomId;
|
const roomId = this.state.room.roomId;
|
||||||
const dmInviter = me.getDirectChatInviter();
|
const dmInviter = me.getDMInviter();
|
||||||
|
|
||||||
if (dmInviter) {
|
if (dmInviter) {
|
||||||
Rooms.setDMRoom(roomId, dmInviter);
|
Rooms.setDMRoom(roomId, dmInviter);
|
||||||
|
@ -98,7 +98,7 @@ export default class DMRoomMap {
|
|||||||
const room = this.matrixClient.getRoom(roomId);
|
const room = this.matrixClient.getRoom(roomId);
|
||||||
if (room) {
|
if (room) {
|
||||||
const me = room.getMember(this.matrixClient.getUserId());
|
const me = room.getMember(this.matrixClient.getUserId());
|
||||||
return me.getDirectChatInviter();
|
return me.getDMInviter();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return this.roomToUser[roomId];
|
return this.roomToUser[roomId];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user