More bugs.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3785 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-01-22 20:47:10 +00:00
parent 6c28ca738e
commit bd81b2acf5
4 changed files with 48 additions and 4 deletions

View File

@ -204,7 +204,7 @@ function ebtReplicateSendClock(request, have) {
var message = {};
var last_sent = request.connection.sent_clock || {};
var ids = followingDeep(g_database, [me], 2).concat([request.connection.id]);
if (!last_sent) {
if (!Object.keys(last_sent).length) {
for (let id of ids) {
message[id] = get_latest_sequence_for_author(id);
}