Chat: add sig to mention, to correctly index contacts

Fixes urbit/landscape#395
This commit is contained in:
Liam Fitzgerald 2021-02-11 16:22:12 +10:00
parent 1f251667cb
commit 0ef854a563
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB
2 changed files with 1 additions and 3 deletions

View File

@ -496,7 +496,7 @@ export const MessageContent = ({
group={group}
scrollWindow={scrollWindow}
ship={content.mention}
contact={contacts?.[content.mention]}
contact={contacts?.[`~${content.mention}`]}
/>
);
} else {

View File

@ -85,8 +85,6 @@ export default function TextContent(props) {
&& (urbitOb.isValidPatp(group[2]) // valid patp?
&& (group[0] === content.text))) // entire message is room name?
console.log(isGroupLink);
if(isGroupLink) {
const resource = `/ship/${content.text}`;
return (