v2excellent.js icon indicating copy to clipboard operation
v2excellent.js copied to clipboard

是否可以考虑当回帖里有黑名单用户时,导致楼层号与ID不匹配,则优先匹配ID

Open ingjieye opened this issue 1 year ago • 1 comments

例如回复内容是 abc#10 xxx时,当1~10层有我的黑名单用户,相应楼层会消失,往下的楼层数对应减1,则实际abc在我的列表里是处于第9楼 https://github.com/VitoVan/v2excellent.js/blob/357557486ea96e7587ae47d35098b8b567965426/v2excellent.js#L267-L271 因为目前的匹配算法是优先 #楼层 数,所以在这种情况下,回复的排序是错误的

是否可以考虑在匹配 #楼层 数时,增加匹配该楼层的ID,如果ID不符,则优先匹配ID

ingjieye avatar Jun 27 '23 03:06 ingjieye