no message
This commit is contained in:
parent
34c5ea377b
commit
785bdb1d34
@ -171,7 +171,7 @@ class Project extends AbstractModel
|
||||
*/
|
||||
public function getDialogIdAttribute($value)
|
||||
{
|
||||
if ($value === 0) {
|
||||
if ($value === 0 && $this->id) {
|
||||
return AbstractModel::transaction(function() {
|
||||
$this->lockForUpdate();
|
||||
$dialog = WebSocketDialog::createGroup(null, $this->relationUserids(), 'project');
|
||||
|
Loading…
x
Reference in New Issue
Block a user