To simplify the mention logic in message (@)
Created by: huan
We have a very long history of dealing with the @
operations in the messages, see: #41 (closed) #153 (closed) #216 (closed) #362 #1511 #1569 #1661
Today there's a discussion in our contributor room starting from @jcai for this topic again, and @lijiarui has another suggestion to make this logic simple: do not care about that magic charactors.
After thinking on this suggestion, I feel there's a need to deal with the @
as simple as possible because there almost no value from the restrictions to check those magic characters, and it always introduce trouble from different wechat clients (such as the mac, windows, android, and ios).
So let's make the code as simple as it could be: just check the @
in the mentioned text, and never pay attention to those magic characters.