Explorar el Código

fix DcChat initialization in ShareViewController after rebasing master

cyberta hace 5 años
padre
commit
acd4fe9f34
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      DcShare/ShareViewController.swift

+ 1 - 1
DcShare/ShareViewController.swift

@@ -121,7 +121,7 @@ class ShareViewController: SLComposeServiceViewController {
 extension ShareViewController: ChatListDelegate {
     func onChatSelected(chatId: Int) {
         selectedChatId = chatId
-        selectedChat = DcChat(id: chatId)
+        selectedChat = dcContext.getChat(chatId: chatId)
         reloadConfigurationItems()
         popConfigurationViewController()
     }