diff options
author | Joas Schilling <coding@schilljs.com> | 2024-03-15 11:06:24 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-03-15 11:06:24 +0100 |
commit | df2d18095fbc5a18f6586b404f93823475f71050 (patch) | |
tree | 6d0ce72e70bf35a68db74da1a4050fbf6c1c019f /lib/Federation/CloudFederationProviderTalk.php | |
parent | ff172a9222a84b59723d81ac2be20641658b17e0 (diff) |
fix(federation): Log and test last read message
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Federation/CloudFederationProviderTalk.php')
-rw-r--r-- | lib/Federation/CloudFederationProviderTalk.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Federation/CloudFederationProviderTalk.php b/lib/Federation/CloudFederationProviderTalk.php index 43552b349..2788300a0 100644 --- a/lib/Federation/CloudFederationProviderTalk.php +++ b/lib/Federation/CloudFederationProviderTalk.php @@ -415,6 +415,10 @@ class CloudFederationProviderTalk implements ICloudFederationProvider { return []; } + $this->logger->debug('Setting unread info for local federated user ' . $invite->getUserId() . ' in ' . $room->getToken() . ' to ' . json_encode($notification['unreadInfo']), [ + 'app' => 'spreed-federation', + ]); + $this->participantService->updateUnreadInfoForProxyParticipant( $participant, $notification['unreadInfo']['unreadMessages'], |