mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-08-02 11:16:10 -04:00
checkpoint on persistent queue update
This commit is contained in:
parent
6421a77572
commit
b7752a7e95
5 changed files with 80 additions and 36 deletions
|
@ -107,6 +107,7 @@ class SingleContactMessagesCubit extends Cubit<SingleContactMessagesState> {
|
|||
table: 'SingleContactUnsentMessages',
|
||||
key: _remoteConversationRecordKey.toString(),
|
||||
fromBuffer: proto.Message.fromBuffer,
|
||||
toBuffer: (x) => x.writeToBuffer(),
|
||||
closure: _processUnsentMessages,
|
||||
onError: (e, st) {
|
||||
log.error('Exception while processing unsent messages: $e\n$st\n');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue