def message_handler(type_, from_):
    """
    Deprecated alias of :func:`.dispatcher.message_handler`.

    .. deprecated:: 0.9
    """
    import aioxmpp.dispatcher
    return aioxmpp.dispatcher.message_handler(type_, from_)
Deprecated alias of :func:`.dispatcher.message_handler`.

    .. deprecated:: 0.9