'Returns the user opposite of the user that is given
:param user:
A Django :class:`User`.
:return:
A Django :class:`User`.'

def opposite_user(self, user):

    if (self.um_from_user == user):
        return self.um_to_user
    else:
        return self.um_from_user
