#1098 - Working real user suggestion inside the main application.

This commit is contained in:
Stefan Ceriu
2021-10-05 14:30:31 +03:00
parent 388e521a89
commit 71667de9b1
12 changed files with 191 additions and 57 deletions

View File

@@ -325,10 +325,6 @@ const CGFloat kComposerContainerTrailingPadding = 12;
NSString *newText = [textView.text stringByReplacingCharactersInRange:range withString:text];
[self updateUIWithTextMessage:newText animated:YES];
if ([text isEqualToString:@"@"]) {
[self.delegate roomInputToolbarViewDidRequestUserSuggestions:self];
}
return YES;
}
@@ -344,6 +340,8 @@ const CGFloat kComposerContainerTrailingPadding = 12;
{
[self.delegate roomInputToolbarView:self isTyping:(self.textMessage.length > 0 ? YES : NO)];
}
[self.delegate roomInputToolbarViewDidChangeTextMessage:self];
}
- (void)textViewDidChangeHeight:(GrowingTextView *)textView height:(CGFloat)height