def decode_message(data):
    """Decodes a channel topic into a channel id, message id tuple."""
    try:
        creator_id, channel_id, message_id = data.split('|')
    except:
        return None, None, None

    return creator_id, channel_id, message_id