|
|
@ -144,6 +144,10 @@ final class InputView : UIView, InputViewButtonDelegate, InputTextViewDelegate,
|
|
|
|
delegate?.inputTextViewDidChangeContent(inputTextView)
|
|
|
|
delegate?.inputTextViewDidChangeContent(inputTextView)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func didPasteImageFromPasteboard(_ inputTextView: InputTextView, image: UIImage) {
|
|
|
|
|
|
|
|
delegate?.didPasteImageFromPasteboard(image)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// We want to show either a link preview or a quote draft, but never both at the same time. When trying to
|
|
|
|
// We want to show either a link preview or a quote draft, but never both at the same time. When trying to
|
|
|
|
// generate a link preview, wait until we're sure that we'll be able to build a link preview from the given
|
|
|
|
// generate a link preview, wait until we're sure that we'll be able to build a link preview from the given
|
|
|
|
// URL before removing the quote draft.
|
|
|
|
// URL before removing the quote draft.
|
|
|
@ -351,4 +355,5 @@ protocol InputViewDelegate : AnyObject, ExpandingAttachmentsButtonDelegate, Voic
|
|
|
|
func handleQuoteViewCancelButtonTapped()
|
|
|
|
func handleQuoteViewCancelButtonTapped()
|
|
|
|
func inputTextViewDidChangeContent(_ inputTextView: InputTextView)
|
|
|
|
func inputTextViewDidChangeContent(_ inputTextView: InputTextView)
|
|
|
|
func handleMentionSelected(_ mention: Mention, from view: MentionSelectionView)
|
|
|
|
func handleMentionSelected(_ mention: Mention, from view: MentionSelectionView)
|
|
|
|
|
|
|
|
func didPasteImageFromPasteboard(_ image: UIImage)
|
|
|
|
}
|
|
|
|
}
|
|
|
|