Switch to importing models/event from main js-sdk export (#11363)

This commit is contained in:
Michael Telatynski 2023-08-07 09:24:58 +01:00 committed by GitHub
parent 22ce756f76
commit 24703eea8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
179 changed files with 210 additions and 283 deletions

View file

@ -14,12 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import { MatrixEventEvent } from "matrix-js-sdk/src/models/event";
import { RoomEvent } from "matrix-js-sdk/src/matrix";
import { MatrixEventEvent, RoomEvent } from "matrix-js-sdk/src/matrix";
import { ClientEvent } from "matrix-js-sdk/src/client";
import type { Room } from "matrix-js-sdk/src/matrix";
import type { MatrixEvent } from "matrix-js-sdk/src/models/event";
import type { Room, MatrixEvent } from "matrix-js-sdk/src/matrix";
import type { IDestroyable } from "../../utils/IDestroyable";
import { MatrixClientPeg } from "../../MatrixClientPeg";
import { readReceiptChangeIsFor } from "../../utils/read-receipts";