Hello, i've been working on this for a while, and finally found out that the variables !is_new and !is_updated always have the same value:

isnew -> 0
isupdated -> 1

so i'm not able to find out which content is new and which one is updated.

thanks, any help appreciated

Comments

salvis’s picture

Status: Active » Postponed (maintainer needs more info)

isnew -> 0
isupdated -> 1

That seems to contradict the title (they are not the same)...

Or are you saying that !isupdated is never 0?

That's not what I'm seeing. The default templates have

| Your subscription on !site
| notifies you of {{!is_new==0?:a new post:
}}{{!is_updated==0?:an updated post:
}}{{!is_old==0?:new comments:
}}|

I get all three strings just fine...

salvis’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No follow-up.