git ssb

16+

Dominic / patchbay



Commit 0c8170ba0a21c43a0ced6048c04d79e7c03cee13

fix filter to not cut off the first letter of user name!

mix irving committed on 4/25/2018, 10:06:13 PM
Parent: 9890e025b4940cce2b28ab84a215a11faef3013a

Files changed

app/html/filter.jschanged
app/html/filter.jsView
@@ -157,9 +157,9 @@
157157
158158 const getAboutSuggestions = api.about.async.suggest()
159159 addSuggest(userInput, (inputText, cb) => {
160160 inputText = inputText.replace(/^@/, '')
161- cb(null, getAboutSuggestions(inputText.slice(1)))
161 + cb(null, getAboutSuggestions(inputText))
162162 }, {cls: 'PatchSuggest'})
163163 userInput.addEventListener('suggestselect', ev => userId.set(ev.detail.id))
164164
165165 function followFilter (msg) {

Built with git-ssb-web