Limit messaging plugin to friends

Hello, is it possible to limit messaging (WPMUDEV) functionality to friends (WPMUDEV plugin) only?

Many thanks,
Thermolis