add notif dedup to avoid duplicate announcement
This commit is contained in:
+4
-1
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user