rrbrambley / MessageBeast-Android

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

ChannelSyncManager.retrieveNewestMessages() does not gracefully handle unsent action messages #3

Closed rrbrambley closed 10 years ago

rrbrambley commented 10 years ago

i.e. if, while retrieving the new messages, an action channel cannot refresh because unsent messages exist, then the ChannelSyncManager doesn’t really do anything to notify the client

rrbrambley commented 10 years ago

ChannelRefreshHandlers are used as of commit 031d4ca6a75b1c6990461197110c95871b9c0987; a ChannelRefreshResult is passed for every channel and isBlockedDueToUnsentMessages() can be used to check if there are unsent messages.