@Override
    public boolean equals(Object o)
    {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        AbstractMessage that = (AbstractMessage) o;

        if (!sender.equals(that.sender)) return false;
        if (timestamp != that.timestamp) return false;

        return true;
    }