Add basic slash commands support to UserSuggestion module

This commit is contained in:
aringenbach
2023-04-19 10:45:40 +02:00
parent 65c0c1b4b8
commit cacf97233a
12 changed files with 226 additions and 60 deletions

View File

@@ -195,6 +195,10 @@ class WysiwygInputToolbarView: MXKRoomInputToolbarView, NibLoadable, HtmlRoomInp
name: member.displayname,
mentionType: .user)
}
func command(_ command: String) {
self.wysiwygViewModel.setCommand(name: command)
}
// MARK: - Private