Block user in asmack 8-4.0.6

HI all,

while working with chat application i came across a problem where i have to block a user that is a friend of mine. I have tried many code snippets available online but no result. please share your

experience here i f any one has successfully done something …