TEB4R7OU65GZAGPNINWHOR4Q23OJYVUQK5RT75SV26W7JJEVT5DQC
BVCWJKEXMTMFIK3UUR6GRQYIYJK25V5IX4HWFFDRXCJMDTRAWY6QC
LOFH5LIAF5C7NDW4XGT5VU6OFNXY6DOKTSJZXS5OCSNVYLSPKDOQC
XKG2L3QBAWH6XMYZ5TMDPLIXL43S3GCN4QNLAZXAWVPHGRQP727AC
AEWYJHUD6R45HG4BJSZGH32VJ25H6GU74CL5ZBKI647AKF22HY6QC
6NYILMKIHYQMGMCRZANU2FDO66DGINOMCX2J4JFTUI6VL3HZ6D5QC
GUAEZDLE6V2K4YCXZ333BJ66MESMYSI2Y5HARQLFTISLZUWE2PPQC
A2LJT7TTVA6XDEQ6N27T7KKFGBH6AMF6KQI6J7AOVUZDLIN6HCMAC
FUCFD4UVRUXDHG24MYEHF2E5E23BIFVKTRGLNBPBVKFLONVSMHTAC
3HT5CE6SDTPZAV7EN6FDMY2744JVFJCXHZXEQLK6IEFGPRGSBTXAC
EVP2FSBHQUCAXQ6IIMBD6IS24ODKHP6HFWYCHIMYG6KOFRQG3RVQC
4MZ4VIR7FU3PQ3WKJI6TJIKYOIIBODFEPKLMQ32S4AKPZSDFO6AQC
Some((users, has_itself))
let join_data = if !has_itself && status.is_none() {
let csrf = Uuid::new_v4();
let mut cache = data.cache_join_game.lock().await;
cache.insert(
csrf,
(gameuid.clone(), user.to_string()),
std::time::Duration::from_secs(data.cache_duration_sec),
);
Some(JoinData { csrf })
} else {
None
};
(Some(users), join_data)