From e99e30b45c9c4b0b77f3fbeddad5b90f883ec899 Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 27 May 2020 21:29:27 -0700 Subject: [PATCH] Moved VOICE_CHANNEL & TEXT_CHANNEL const's to channels module --- server/src/models.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/server/src/models.rs b/server/src/models.rs index a679030..fbe33e9 100644 --- a/server/src/models.rs +++ b/server/src/models.rs @@ -34,10 +34,6 @@ pub const _USER_ONLINE: i32 = 2; pub const _USER_AWAY: i32 = 3; pub const _USER_DO_NOT_DISTRUB: i32 = 4; -// These are to be use specifically for discerning between channel types -pub const VOICE_CHANNEL: i32 = 1; -pub const TEXT_CHANNEL: i32 = 2; - #[derive(Serialize, Deserialize, Queryable, Insertable)] #[table_name = "channels" ] pub struct Channel {