mirror of
https://github.com/chatmail/core.git
synced 2026-04-25 01:16:29 +03:00
rename to more specific name, also not using the difficult to type "succeeded" word :)
This commit is contained in:
committed by
Floris Bruynooghe
parent
618d74cd67
commit
76610f1e72
@@ -249,5 +249,5 @@ pub enum Event {
|
||||
/// @param data2 (int) contact_id
|
||||
/// @return 0
|
||||
#[strum(props(id = "2062"))]
|
||||
SecurejoinSucceeded { chat_id: u32, contact_id: u32 },
|
||||
SecurejoinMemberAdded { chat_id: u32, contact_id: u32 },
|
||||
}
|
||||
|
||||
@@ -615,7 +615,7 @@ pub fn handle_securejoin_handshake(
|
||||
.lookup_optional_field("Secure-Join-Group")
|
||||
.unwrap_or_default();
|
||||
let (group_chat_id, _, _) = chat::get_chat_id_by_grpid(context, &field_grpid);
|
||||
context.call_cb(Event::SecurejoinSucceeded {
|
||||
context.call_cb(Event::SecurejoinMemberAdded {
|
||||
chat_id: group_chat_id,
|
||||
contact_id: contact_id,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user