mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
no message
This commit is contained in:
parent
c7f5c62e71
commit
002776f15e
@ -755,6 +755,9 @@ class WebSocketDialog extends AbstractModel
|
||||
*/
|
||||
public static function getUserDialog($userid1, $userid2, $ttl, &$cacheKey = null)
|
||||
{
|
||||
if ($userid1 == $userid2) {
|
||||
$userid2 = 0;
|
||||
}
|
||||
$userids = [$userid1, $userid2];
|
||||
sort($userids);
|
||||
$cacheKey = "Dialog::user:" . implode('-', $userids);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user