add device-message only once

This commit is contained in:
B. Petersen
2019-11-12 02:14:21 +01:00
committed by holger krekel
parent fc32c85608
commit a42e197634
2 changed files with 20 additions and 2 deletions

View File

@@ -245,7 +245,7 @@ fn maybe_add_bcc_self_device_msg(context: &Context) -> Result<()> {
go to the settings and enable \"Send copy to self\"."
.to_string(),
);
chat::add_device_msg(context, &mut msg)?;
chat::add_device_msg_once(context, "bcc-self-hint", &mut msg)?;
}
Ok(())
}