Skip to content

Commit 89c74e3

Browse files
committed
find thread
1 parent 7b224a5 commit 89c74e3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/chat/message.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,11 @@ export async function renderMessageRow (channelObject, message, fresh, options,
175175
if (straightReplies.length > 1) {
176176
debug.log('renderMessageRow: found normal replies: ', straightReplies)
177177
}
178-
debug.log('@@@@ alain thread')
179-
// debug.log(replies)
180-
// debug.log(thread)
181-
thread = store.any(msgId, ns.sioc('has_reply')) // if (!thread)
182-
debug.log(thread)
178+
debug.log('@@@@ is thread')
179+
if (!thread) {
180+
// thread = store.any(message, ns.sioc('has_reply'))
181+
thread = store.any(null, ns.sioc('has_member'), message)
182+
}
183183
// get signature
184184
const signature = store.any(msgId, $rdf.sym(`${SEC}proofValue`))
185185

0 commit comments

Comments
 (0)