Give private messages status tag a more generic name

Created on 25 February 2019, almost 6 years ago
Updated 10 February 2024, 10 months ago

Currently, in PrivateMessageService::updateLastCheckTime(), a cache tag named 'private_message_notification_block:uid:' . $this->currentUser->id() gets invalidated. That's actually a quite useful thing to react on in custom code as well, although the naming of the tag is less than ideal for that.

I would propose to deprecate the existing tag and add another one called something like 'private_messages:status:uid:(current-user-id)' (and also changes the module's own usage of the tags).

✨ Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands eelkeblok Netherlands πŸ‡³πŸ‡±

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024