Remove room state mgmt; let matrix SDK do it on-demand instead. #71
|
@ -0,0 +1,10 @@
|
||||||
|
use barrel::backend::Sqlite;
|
||||||
|
use barrel::{types, Migration};
|
||||||
|
|
||||||
|
pub fn migration() -> String {
|
||||||
|
let mut m = Migration::new();
|
||||||
|
|
||||||
|
m.drop_table_if_exists("room_info");
|
||||||
|
m.drop_table_if_exists("room_users");
|
||||||
|
m.make::<Sqlite>()
|
||||||
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
use futures::stream::{self, StreamExt, TryStreamExt};
|
use futures::stream::{self, StreamExt, TryStreamExt};
|
||||||
use log::error;
|
use log::error;
|
||||||
use matrix_sdk::{events::room::message::NoticeMessageEventContent, room::Joined, StoreError};
|
use matrix_sdk::{events::room::message::NoticeMessageEventContent, room::Joined};
|
||||||
use matrix_sdk::{
|
use matrix_sdk::{
|
||||||
events::room::message::{InReplyTo, Relation},
|
events::room::message::{InReplyTo, Relation},
|
||||||
events::room::message::{MessageEventContent, MessageType},
|
events::room::message::{MessageEventContent, MessageType},
|
||||||
|
|
Loading…
Reference in New Issue