mirror of
https://github.com/stoatchat/for-android.git
synced 2026-07-19 17:13:36 -04:00
@@ -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} "
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user