Cryo (cryo) wrote in lj_dev,
Cryo
cryo
lj_dev

  • Mood:
  • Music:

Editing last entry

While working on this part of my client, I noticed that if you post an entry to another journal, that if you do getevent -1 it'll return that last entry posted in -your- journal, not the last entry... so if you make typos or want to delete -that- entry, you can't?

Only way I can see to DTRT is to cache the itemid from the last successful post. Is this what everyone else is doing, or are we just accepting that -1 is the last entry of your journal?
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 4 comments