diff --git a/app/src/main/java/chat/revolt/components/chat/NativeMessageField.kt b/app/src/main/java/chat/revolt/components/chat/NativeMessageField.kt index 75ac74b1..cde64e43 100644 --- a/app/src/main/java/chat/revolt/components/chat/NativeMessageField.kt +++ b/app/src/main/java/chat/revolt/components/chat/NativeMessageField.kt @@ -102,13 +102,13 @@ fun String.applyAutocompleteSuggestion( this.replaceRange( cursorPosition - suggestion.query.length - 1, cursorPosition, - "#${suggestion.channel.name} " + "<#${suggestion.channel.id}> " ) } else { this.replaceRange( cursorPosition - suggestion.query.length - 1, cursorPosition, - "<#${suggestion.channel.id}> " + "#${suggestion.channel.name} " ) } }