forked from cory/tildefriends
Looks like a reply fix.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3939 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -313,6 +313,7 @@ async function getRelatedPostIds(db, message, ids, limit) {
|
||||
id = JSON.parse(message.content).root || id;
|
||||
} catch {
|
||||
}
|
||||
print("id = ", id);
|
||||
for (var i = 0; i < ids.length; i += k_batch_max) {
|
||||
var ids_batch = ids.slice(i, Math.min(i + k_batch_max, ids.length));
|
||||
await ssb.sqlStream(
|
||||
|
@ -1,4 +1,5 @@
|
||||
import * as tfshared from './tf-shared.js';
|
||||
import * as tf from './tf.js';
|
||||
|
||||
Vue.component('tf-message', {
|
||||
props: ['message', 'messages', 'votes'],
|
||||
@ -42,8 +43,8 @@ Vue.component('tf-message', {
|
||||
methods: {
|
||||
markdown: tfshared.markdown,
|
||||
set_reply: function() {
|
||||
g_data.reply_root = this.content_json.root || this.message.id;
|
||||
g_data.reply_branch = this.message.id;
|
||||
tf.g_data.reply_root = this.content_json.root || this.message.id;
|
||||
tf.g_data.reply_branch = this.message.id;
|
||||
},
|
||||
vote: function(event) {
|
||||
var reaction = event.srcElement.innerText;
|
||||
|
Reference in New Issue
Block a user