mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
don't emit changed on joining broadcast
This commit is contained in:
@@ -261,7 +261,8 @@ pub(super) async fn handle_auth_required(
|
|||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
match invite {
|
match invite {
|
||||||
QrInvite::Contact { .. } | QrInvite::Broadcast { .. } => {
|
QrInvite::Broadcast { .. } => {}
|
||||||
|
QrInvite::Contact { .. } => {
|
||||||
// This is to tell UI that Chat.can_send has changed
|
// This is to tell UI that Chat.can_send has changed
|
||||||
context.emit_event(EventType::ChatModified(chat_id));
|
context.emit_event(EventType::ChatModified(chat_id));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user