rrbrambley / MessageBeast-Android

A library for building Message-based apps on App.net
MIT License
5 stars 0 forks source link

Unsent messages with actions applied lose action after message is sent. #39

Closed rrbrambley closed 10 years ago

rrbrambley commented 10 years ago

Because the message id changes after a message is sent, action messages that are created for unsent messages no longer apply after the unsent message gets sent. After a message is sent, we should somehow, automatically determine which actions have been applied to it and create new action messages for that message.

rrbrambley commented 10 years ago

As of 1e9992f54892327b0508f910891aa352e3ab0e00, ActionMessageManager is required to do the sending of all unsent action messages, an operation that the MessageManager directly initiates after sending unsent messages (i.e. a client app cannot perform this manually). Additionally, action messages should never be sent until their target message is sent. Although this fixes the bug here, we do not yet have sufficient enforcement/support of these policies, so I have opened a separate bug here: https://github.com/rrbrambley/MessageBeast-Android/issues/42