1
0

Don't prune cache entries for get_or_create_notice_room_for_user

This commit is contained in:
Brendan Abolivier
2022-05-11 16:37:48 +01:00
parent 84facf769e
commit 32e64b4bcd

View File

@@ -90,7 +90,7 @@ class ServerNoticesManager:
)
return event
@cached()
@cached(prune_unread_entries=False)
async def get_or_create_notice_room_for_user(self, user_id: str) -> str:
"""Get the room for notices for a given user