Fix subscription
This commit is contained in:
		| @@ -63,7 +63,8 @@ pub async fn push(room_id: &str, event: Event) -> Result<(), Error> { | ||||
|         unsafe { | ||||
|             let mut accounts = ACCOUNTS.as_ref().unwrap().lock().await; | ||||
|             if let Some(acc) = accounts.get_mut(account.as_str()) { | ||||
|                 rooms.append(acc); | ||||
|                 let mut acc = acc.clone(); | ||||
|                 rooms.append(&mut acc); | ||||
|             } | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user