Changeset 489 in code for trunk/upstream.go


Ignore:
Timestamp:
Mar 31, 2021, 4:04:13 PM (4 years ago)
Author:
contact
Message:

Save delivery receipts in DB

This avoids loosing history on restart for clients that don't
support chathistory.

Closes: https://todo.sr.ht/~emersion/soju/80

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r487 r489  
    17531753                }
    17541754
    1755                 for clientName, _ := range uc.user.clientNames {
     1755                uc.network.delivered.ForEachClient(func(clientName string) {
    17561756                        uc.network.delivered.StoreID(entity, clientName, lastID)
    1757                 }
     1757                })
    17581758        }
    17591759
Note: See TracChangeset for help on using the changeset viewer.