You've already forked AstralRinth
forked from didirus/AstralRinth
Small friends fixes (#4270)
* Ensure that fetch errors are properly propagated * Handle user not found errors better in add_friend * Cargo fmt * Introduce new LabrinthError returnable by fetch_advanced * Allow enter key to send a friend request
This commit is contained in:
@@ -189,7 +189,7 @@ impl Role {
|
||||
pub struct UserFriend {
|
||||
// The user who accepted the friend request
|
||||
pub id: UserId,
|
||||
/// THe user who sent the friend request
|
||||
/// The user who sent the friend request
|
||||
pub friend_id: UserId,
|
||||
pub accepted: bool,
|
||||
pub created: DateTime<Utc>,
|
||||
|
||||
Reference in New Issue
Block a user