#1098 - Generated UserSuggestion from template, got initial UI working and automatically updating.

This commit is contained in:
Stefan Ceriu
2021-09-30 09:37:59 +03:00
parent adc20a27b5
commit 97a16806b1
23 changed files with 864 additions and 4 deletions

View File

@@ -324,7 +324,11 @@ 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;
}