'Add user to the list of users in public rooms
Args:
room_id (str): A room_id that all users are in that is world_readable
or publically joinable
user_ids (list(str)): Users to add'

@defer.inlineCallbacks
def add_users_to_public_room(self, room_id, user_ids):

    (yield self._simple_insert_many(table='users_in_pubic_room', values=[{'user_id': user_id, 'room_id': room_id} for user_id in user_ids], desc='add_users_to_public_room'))
    for user_id in user_ids:
        self.get_user_in_public_room.invalidate((user_id,))
