Browse Source

Merge pull request #899 from deltachat/remove_unused_code

remove unused code from ChatViewController
bjoern 5 years ago
parent
commit
effb8fb070
1 changed files with 0 additions and 10 deletions
  1. 0 10
      deltachat-ios/Controller/ChatViewController.swift

+ 0 - 10
deltachat-ios/Controller/ChatViewController.swift

@@ -6,16 +6,6 @@ import AVFoundation
 import DcCore
 import SDWebImage
 
-protocol MediaSendHandler {
-    func onSuccess()
-}
-
-extension ChatViewController: MediaSendHandler {
-    func onSuccess() {
-        refreshMessages()
-    }
-}
-
 extension ChatViewController: MediaPickerDelegate {
     func onVideoSelected(url: NSURL) {
         sendVideo(url: url)