v0.9.1 encrypt database and bug fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "jama-frontend",
|
||||
"version": "0.8.8",
|
||||
"version": "0.9.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
|
||||
@@ -154,6 +154,9 @@ export default function Chat() {
|
||||
if (notif.type === 'private_message') {
|
||||
// Badge is already handled by handleNewMsg via message:new socket event.
|
||||
// Nothing to do here for the socket path.
|
||||
} else if (notif.type === 'support') {
|
||||
// A support request was submitted — reload groups so Support group appears in sidebar
|
||||
loadGroups();
|
||||
} else {
|
||||
setNotifications(prev => [notif, ...prev]);
|
||||
toast(`${notif.fromUser?.display_name || notif.fromUser?.name || 'Someone'} mentioned you`, 'default', 4000);
|
||||
|
||||
Reference in New Issue
Block a user