Make EffectiveMembership utils generic

Fixes https://github.com/vector-im/riot-web/issues/14460

Just have to move them to utils.
This commit is contained in:
Travis Ralston 2020-07-13 20:29:46 -06:00
parent 126aa862db
commit 4a8a59c578
5 changed files with 4 additions and 4 deletions

View file

@ -17,7 +17,7 @@ limitations under the License.
import { NotificationColor } from "./NotificationColor";
import { IDestroyable } from "../../utils/IDestroyable";
import { MatrixClientPeg } from "../../MatrixClientPeg";
import { EffectiveMembership, getEffectiveMembership } from "../room-list/membership";
import { EffectiveMembership, getEffectiveMembership } from "../../utils/membership";
import { readReceiptChangeIsFor } from "../../utils/read-receipts";
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
import { Room } from "matrix-js-sdk/src/models/room";