You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
@@ -24,7 +24,7 @@ import dis from '../../../dispatcher';
|
|||||||
import MatrixClientPeg from '../../../MatrixClientPeg';
|
import MatrixClientPeg from '../../../MatrixClientPeg';
|
||||||
import DMRoomMap from '../../../utils/DMRoomMap';
|
import DMRoomMap from '../../../utils/DMRoomMap';
|
||||||
import sdk from '../../../index';
|
import sdk from '../../../index';
|
||||||
import ContextualMenu from '../../structures/ContextualMenu';
|
import {createMenu} from '../../structures/ContextualMenu';
|
||||||
import * as RoomNotifs from '../../../RoomNotifs';
|
import * as RoomNotifs from '../../../RoomNotifs';
|
||||||
import * as FormattingUtils from '../../../utils/FormattingUtils';
|
import * as FormattingUtils from '../../../utils/FormattingUtils';
|
||||||
import AccessibleButton from '../elements/AccessibleButton';
|
import AccessibleButton from '../elements/AccessibleButton';
|
||||||
@@ -217,7 +217,7 @@ module.exports = React.createClass({
|
|||||||
y = y - (chevronOffset + 8); // where 8 is half the height of the chevron
|
y = y - (chevronOffset + 8); // where 8 is half the height of the chevron
|
||||||
|
|
||||||
const self = this;
|
const self = this;
|
||||||
ContextualMenu.createMenu(RoomTileContextMenu, {
|
createMenu(RoomTileContextMenu, {
|
||||||
chevronOffset: chevronOffset,
|
chevronOffset: chevronOffset,
|
||||||
left: x,
|
left: x,
|
||||||
top: y,
|
top: y,
|
||||||
|
|||||||
Reference in New Issue
Block a user