forked from cory/tildefriends
Maybe avoid increating load with the wiki app as requested accrue.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4609 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -67,7 +67,6 @@ ssb.addEventListener('message', function(id) {
|
||||
|
||||
core.register('message', async function message_handler(message) {
|
||||
if (message.event == 'hashChange') {
|
||||
print('hash change', message.hash);
|
||||
g_hash = message.hash;
|
||||
await tfrpc.rpc.hash_changed(message.hash);
|
||||
}
|
||||
@ -112,7 +111,6 @@ async function process_message(whoami, collection, message, kind, parent) {
|
||||
} else {
|
||||
content.draft = false;
|
||||
}
|
||||
print(message.id, content);
|
||||
if (content?.key) {
|
||||
if (content?.tombstone) {
|
||||
delete collection[content.key];
|
||||
|
Reference in New Issue
Block a user