#method for editing messages

13 messages · Page 1 of 1 (latest)

civic hornet
open finch
#

Give each message an ID on the server and maintain the message/author mapping. Then allow the author to edit the message by submitting the edited message with its ID.

civic hornet
#

Thanks. Will this go inside consumers and templates?

open finch
#

Ofcourse.

civic hornet
#

Thank you

civic hornet
open finch
#

You have code to edit messages but not code to create them. When is the message_id first created?

civic hornet
#

Are you referring to my consumers?

#

Not sure I follow

#

What do you mean by code to create the messages, I thought I already did that?

#

If you could please elaborate what you mean

#

Or are you referring to self.send() in the async ref receive?

open finch
#

Where's the code that initially creates/assigns the message id ?