feat: add conversation system action messages
This commit is contained in:
@@ -5172,6 +5172,15 @@ func TestServeIMFriendsList(t *testing.T) {
|
||||
now := time.Now().UTC().Round(time.Millisecond)
|
||||
peer := types.Uid(2)
|
||||
relations := &testRelationsStore{friends: []types.FriendListItem{{
|
||||
Friendship: types.Friendship{
|
||||
TenantID: 7,
|
||||
UserID: 1,
|
||||
PeerID: 1,
|
||||
Status: types.RelationshipFriend,
|
||||
Topic: types.Uid(1).P2PName(types.Uid(1)),
|
||||
},
|
||||
Peer: &types.User{ObjHeader: types.ObjHeader{Id: types.Uid(1).String()}, TenantID: 7, Public: map[string]any{"display_name": "Self"}},
|
||||
}, {
|
||||
Friendship: types.Friendship{
|
||||
TenantID: 7,
|
||||
UserID: 1,
|
||||
|
||||
Reference in New Issue
Block a user