no message

This commit is contained in:
kuaifan 2022-06-22 19:31:50 +08:00
parent a798c61ded
commit db4678770d
8 changed files with 8 additions and 8 deletions

View File

@ -61,7 +61,7 @@ class WebSocketDialogMsgTask extends AbstractTask
// 将会话以外的成员加入会话内
$userids = $dialog->dialogUser->pluck('userid')->toArray();
$diffids = array_values(array_diff($mentions, $userids));
if ($diffids) {
if ($diffids && $dialog->type === 'group') {
$dialog->joinGroup($diffids, $msg->userid);
$dialog->pushMsg("groupJoin", null, $diffids);
$userids = array_values(array_unique(array_merge($mentions, $userids)));

View File

@ -1,6 +1,6 @@
{
"name": "DooTask",
"version": "0.17.83",
"version": "0.17.84",
"description": "DooTask is task management system.",
"scripts": {
"start": "./cmd dev",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
a6182ad0eecb1c84
882c813e4dcfa690

View File

@ -1092,7 +1092,7 @@ export default {
getMoreUser(key, existIds) {
return new Promise(resolve => {
if (this.dialogId > 0 || this.taskId > 0 || this.dialogData.type === 'group') {
if (this.taskId > 0 || this.dialogData.type === 'group') {
this.__getMoreTimer && clearTimeout(this.__getMoreTimer)
this.__getMoreTimer = setTimeout(_ => {
this.$store.dispatch("call", {