Adds deleted qr-code token to the list of items to be synced so that the token also gets deleted on the other devices. This interrupts SMTP on its own.
(
&self,
invitenumber: String,
auth: String,
)
| 202 | /// so that the token also gets deleted on the other devices. |
| 203 | /// This interrupts SMTP on its own. |
| 204 | pub(crate) async fn sync_qr_code_token_deletion( |
| 205 | &self, |
| 206 | invitenumber: String, |
| 207 | auth: String, |
| 208 | ) -> Result<()> { |
| 209 | self.add_sync_item(SyncData::DeleteQrToken(QrTokenData { |
| 210 | invitenumber, |
| 211 | auth, |
| 212 | grpid: None, |
| 213 | })) |
| 214 | .await?; |
| 215 | self.scheduler.interrupt_smtp().await; |
| 216 | Ok(()) |
| 217 | } |
| 218 | |
| 219 | /// Sends out a self-sent message with items to be synchronized, if any. |
| 220 | /// |
no test coverage detected