Remove FIXME comment

Turned out making FilterDefinition::ignore_all() const doesn't help.
This commit is contained in:
Jonas Platte 2020-11-05 21:14:56 +01:00
parent 6bfa391104
commit e02d76f4b0
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -18,7 +18,6 @@ async fn log_messages(homeserver_url: Uri, username: &str, password: &str) -> an
client.log_in(username, password, None, None).await?; client.log_in(username, password, None, None).await?;
// FIXME: Possibly promotable when replacing `.into()` if `ignore_all` is made const.
let filter = FilterDefinition::ignore_all().into(); let filter = FilterDefinition::ignore_all().into();
let initial_sync_response = client let initial_sync_response = client
.request(assign!(sync_events::Request::new(), { .request(assign!(sync_events::Request::new(), {