Remove linkToChat option -> always link to the chats (for now --> seems more logical)
@@ -83,8 +83,6 @@ export default function AtomContentChats({ atom, allowAdHoc, refuseOwned }) {
return connectionsArray.map((conn, index) => {
const connUri = get(conn, "uri");
- const linkToChat = connectionUtils.isConnected(conn);
-
return (
<div className="acc__item" key={connUri + "-" + index}>
<WonConnectionSelectionItem
@@ -95,7 +93,7 @@ export default function AtomContentChats({ atom, allowAdHoc, refuseOwned }) {
postUri: get(atom, "uri"),
connectionUri: connUri,
},
- linkToChat ? "/connections" : "/post",
+ "/connections",
false
)}
flip={!isAtomOwned}
