mirror of
https://github.com/chatmail/core.git
synced 2026-04-24 08:56:29 +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?;
|
||||
|
||||
match invite {
|
||||
QrInvite::Contact { .. } | QrInvite::Broadcast { .. } => {
|
||||
QrInvite::Broadcast { .. } => {}
|
||||
QrInvite::Contact { .. } => {
|
||||
// This is to tell UI that Chat.can_send has changed
|
||||
context.emit_event(EventType::ChatModified(chat_id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user