fix: align private and channel update semantics
(cherry picked from commit c65f76f56278f74082c4fa792ed49104d5d33c38)
This commit is contained in:
parent
dce7b92772
commit
d84fa6e126
36 changed files with 1765 additions and 382 deletions
|
|
@ -20,6 +20,18 @@ type ContactList struct {
|
|||
Hash int64
|
||||
}
|
||||
|
||||
// BlockedContact is one owner-visible blocked peer.
|
||||
type BlockedContact struct {
|
||||
User User
|
||||
Date int
|
||||
}
|
||||
|
||||
// BlockedContactList describes contacts.getBlocked output.
|
||||
type BlockedContactList struct {
|
||||
Blocked []BlockedContact
|
||||
Count int
|
||||
}
|
||||
|
||||
// ContactInput 描述一次 owner 视角联系人写入。
|
||||
type ContactInput struct {
|
||||
ContactUserID int64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue