mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-22 14:10:37 -04:00
1.0.2
This commit is contained in:
parent
d965f674fc
commit
e76e3cf0ba
11 changed files with 148 additions and 66 deletions
|
@ -155,11 +155,14 @@ class BackgroundTickerState extends ConsumerState<BackgroundTicker> {
|
|||
remoteIdentityPublicKey: remoteIdentityPublicKey,
|
||||
remoteConversationRecordKey: remoteConversationRecordKey);
|
||||
if (newMessages != null) {
|
||||
await mergeLocalConversationMessages(
|
||||
final changed = await mergeLocalConversationMessages(
|
||||
activeAccountInfo: activeAccountInfo,
|
||||
localConversationRecordKey: localConversationRecordKey,
|
||||
remoteIdentityPublicKey: remoteIdentityPublicKey,
|
||||
newMessages: newMessages);
|
||||
if (changed) {
|
||||
ref.invalidate(activeConversationMessagesProvider);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue