You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-18 09:22:18 +03:00
Missed some underscores
This commit is contained in:
@ -185,7 +185,7 @@ export default class DMRoomMap {
|
|||||||
const myUserId = this.matrixClient.getUserId();
|
const myUserId = this.matrixClient.getUserId();
|
||||||
const selfDMs = userToRooms[myUserId];
|
const selfDMs = userToRooms[myUserId];
|
||||||
if (selfDMs && selfDMs.length) {
|
if (selfDMs && selfDMs.length) {
|
||||||
const neededPatching = this._patchUpSelfDMs(userToRooms);
|
const neededPatching = this.patchUpSelfDMs(userToRooms);
|
||||||
// to avoid multiple devices fighting to correct
|
// to avoid multiple devices fighting to correct
|
||||||
// the account data, only try to send the corrected
|
// the account data, only try to send the corrected
|
||||||
// version once.
|
// version once.
|
||||||
@ -203,7 +203,7 @@ export default class DMRoomMap {
|
|||||||
|
|
||||||
private populateRoomToUser() {
|
private populateRoomToUser() {
|
||||||
this.roomToUser = {};
|
this.roomToUser = {};
|
||||||
for (const user of Object.keys(this._getUserToRooms())) {
|
for (const user of Object.keys(this.getUserToRooms())) {
|
||||||
for (const roomId of this.userToRooms[user]) {
|
for (const roomId of this.userToRooms[user]) {
|
||||||
this.roomToUser[roomId] = user;
|
this.roomToUser[roomId] = user;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user