Add last_message to channels, mark DMs as active.
This commit is contained in:
@@ -40,6 +40,7 @@ pub async fn req(user: User, target: Ref) -> Result<JsonValue> {
|
||||
id,
|
||||
active: false,
|
||||
recipients: vec![user.id, target.id],
|
||||
last_message: None
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user