To my knowledge there's no way of determining if a person joined the channel from an invitation or by any one of several other methods (eg: double clicking the room name in the channel list)

Without a way of making that determination, then I don't see any way of completing your request.