Browse Source

work

tags/v0.12.0
Shaun 1 year ago
parent
commit
571b6e8323
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/server/components/social.js

+ 5
- 1
src/server/components/social.js View File

@@ -276,7 +276,11 @@ module.exports = {
//Sends a notification to yourself
// arg1 = { message, className, type }
notifySelf: function ({ message, className = 'color-redA', type = 'info', subType }) {
const { obj: { id, serverId, instance: { syncer } } } = this;
const { obj: { id, serverId, instance } } = this;

//Maybe we are in the main thread
if (!instance)
return;

syncer.queue('onGetMessages', {
id,


Loading…
Cancel
Save