Channel invite friends

This commit is contained in:
2024-04-26 21:38:31 +08:00
parent 3a661b67c7
commit a02831644c
5 changed files with 131 additions and 15 deletions

View File

@ -50,4 +50,12 @@ class Friendship {
"related": related.toJson(),
"status": status,
};
Account getOtherside(int selfId) {
if (accountId != selfId) {
return account;
} else {
return related;
}
}
}