add notif dedup to avoid duplicate announcement

This commit is contained in:
2021-10-05 11:46:11 +02:00
parent de3fd4e729
commit 881411ebd3
3 changed files with 44 additions and 3 deletions
+4 -1
View File
@@ -5,7 +5,7 @@ use elefren::{scopes, FediClient, Registration, Scopes};
use futures::StreamExt;
use crate::error::GroupError;
use crate::group_handler::GroupHandle;
use crate::group_handler::{GroupHandle, GroupInternal};
pub mod common_config;
pub mod group_config;
@@ -125,6 +125,7 @@ impl ConfigStore {
client,
config: data,
cc: self.config.clone(),
internal: GroupInternal::default(),
})
}
@@ -169,6 +170,7 @@ impl ConfigStore {
client,
config,
cc: self.config.clone(),
internal: GroupInternal::default(),
})
}
@@ -212,6 +214,7 @@ impl ConfigStore {
client,
config: gc,
cc: self.config.clone(),
internal: GroupInternal::default(),
})
}
Err(e) => {