@defer.inlineCallbacks
    def on_DELETE(self, request, user_id, room_id, tag):
        requester = yield self.auth.get_user_by_req(request)
        if user_id != requester.user.to_string():
            raise AuthError(403, "Cannot add tags for other users.")

        max_id = yield self.store.remove_tag_from_room(user_id, room_id, tag)

        self.notifier.on_new_event(
            "account_data_key", max_id, users=[user_id]
        )

        defer.returnValue((200, {}))
dataset/ETHPy150Open matrix-org/synapse/synapse/rest/client/v2_alpha/tags.py/TagServlet.on_DELETE/original