mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 02:13:00 +00:00
Time out presence
Sourced from #1541 Co-authored-by: Davide <137603413+LW-Davide@users.noreply.github.com>
This commit is contained in:
1 parent
ad245d029f
commit
10a973eced
3 files changed
+5
-4
No files matched your search
@@ -16,8 +16,8 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { Member, Session, Presence, timePromise, Stopwatch, Config } from "@spacebar/util";
|
||||
import { WebSocket, Payload, OPCODES, Send, getMostRelevantSession, handleOffloadedGatewayRequest } from "@spacebar/gateway";
|
||||
import { Member, Session, Presence, timePromise, Stopwatch, Config, getMostRelevantSession } from "@spacebar/util";
|
||||
import { WebSocket, Payload, OPCODES, Send, handleOffloadedGatewayRequest } from "@spacebar/gateway";
|
||||
import { PublicMember } from "@spacebar/schemas";
|
||||
import { In } from "typeorm";
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { getDatabase, getPermission, listenEvent, Member, Role, Session, User, Presence, Channel, Permissions, arrayPartition } from "@spacebar/util";
|
||||
import { WebSocket, Payload, handlePresenceUpdate, OPCODES, Send, getMostRelevantSession } from "@spacebar/gateway";
|
||||
import { getDatabase, getPermission, listenEvent, Member, Role, Session, User, Presence, Channel, Permissions, arrayPartition, getMostRelevantSession } from "@spacebar/util";
|
||||
import { WebSocket, Payload, handlePresenceUpdate, OPCODES, Send } from "@spacebar/gateway";
|
||||
import murmur from "murmurhash-js/murmurhash3_gc";
|
||||
import { check } from "./instanceOf";
|
||||
import { LazyRequestSchema } from "@spacebar/schemas";
|
||||
|
||||
@@ -56,3 +56,4 @@ export * from "./extensions";
|
||||
export * from "./Random";
|
||||
export * from "./Url";
|
||||
export * from "./Version";
|
||||
export * from "./Presence";
|
||||
Reference in new issue
Block a user