예제 #1
0
 public Task <bool> IsMutedAsync(long userId, long targetId)
 {
     return(_mutes.ContainsAsync(userId, targetId));
 }
예제 #2
0
 public Task <bool> IsNoRetweetsAsync(long userId, long targetId)
 {
     return(_noRetweets.ContainsAsync(userId, targetId));
 }
예제 #3
0
 public Task <bool> IsFollowerAsync(long userId, long targetId)
 {
     return(_followers.ContainsAsync(userId, targetId));
 }
예제 #4
0
 public Task <bool> IsBlockingAsync(long userId, long targetId)
 {
     return(_blockings.ContainsAsync(userId, targetId));
 }
예제 #5
0
 public async Task <bool> IsFollowingAsync(long userId, long targetId)
 {
     return(await _followings.ContainsAsync(userId, targetId));
 }