Accept the contact request. Unblocks the chat and scales up origin of contacts.
(self, context: &Context)
| 433 | /// |
| 434 | /// Unblocks the chat and scales up origin of contacts. |
| 435 | pub async fn accept(self, context: &Context) -> Result<()> { |
| 436 | self.accept_ex(context, Sync).await |
| 437 | } |
| 438 | |
| 439 | pub(crate) async fn accept_ex(self, context: &Context, sync: sync::Sync) -> Result<()> { |
| 440 | let chat = Chat::load_from_db(context, self).await?; |