mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 02:11:38 +03:00
Chat: add sig to mention, to correctly index contacts
Fixes urbit/landscape#395
This commit is contained in:
parent
1f251667cb
commit
0ef854a563
@ -496,7 +496,7 @@ export const MessageContent = ({
|
||||
group={group}
|
||||
scrollWindow={scrollWindow}
|
||||
ship={content.mention}
|
||||
contact={contacts?.[content.mention]}
|
||||
contact={contacts?.[`~${content.mention}`]}
|
||||
/>
|
||||
);
|
||||
} else {
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user