alphapapa / ement.el

A Matrix client for GNU Emacs
GNU General Public License v3.0
488 stars 44 forks source link

fix: Make sure the matched string is not simply a substring of a bigger word #244

Closed Konubinix closed 10 months ago

Konubinix commented 10 months ago

If one displayname is 'sam' and another's nickname is 'samy', then all events to samy were recognized as mentionning sam as well.

I figured this out because my displayname is sam and all events with the word same where found as mentionning me.

phil-s commented 10 months ago

See https://github.com/alphapapa/ement.el/issues/240

alphapapa commented 10 months ago

Yes, please address this with #240.