mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-24 13:03:39 +00:00
Resolve conflicts
This commit is contained in:
@@ -18,11 +18,11 @@ export default function(request: websocket.request, connection: websocket.connec
|
||||
case 'ping':
|
||||
if (msg.id == null) return;
|
||||
const matching = await Matching.findOne({
|
||||
parent_id: user._id,
|
||||
child_id: new mongo.ObjectID(msg.id)
|
||||
parentId: user._id,
|
||||
childId: new mongo.ObjectID(msg.id)
|
||||
});
|
||||
if (matching == null) return;
|
||||
publishUserStream(matching.child_id, 'othello_invited', await pack(matching, matching.child_id));
|
||||
publishUserStream(matching.childId, 'othello_invited', await pack(matching, matching.childId));
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user